[Design of POJO Server] - Re: Regression on VirtualFile.toURL()
by wolfc
"adrian(a)jboss.org" wrote : ...
| My emphasis.
|
| On your unit tests, you are just constructing your VFS contexts wrongly.
| You need to include "external references" in your VFS context by including the parent
| within the VFS context you construct.
|
| e.g. we support "external references" if you put them in deploy/
| because the deployment file is constructed as
|
|
| | VFS context = VFS.getVFS("deploy");
| | VirtualFile deployment = context.getRoot().getChild(deploymentName);
| |
|
| so that deployment can see the whole deploy folder.
|
| But a deployment that explicitly lists its URL in the scanner won't have a parent
| because there is no equivalent of the "deploy" folder for them.
The use case doesn't have any 'weird' manifest entries. It's a maven project with src/test/resources/META-INF/persistence.xml. Now you would want to test this before moving on. But I see your point, the unit test should take 'target' as it's root and 'test-classes' as the deployment unit.
I had lib/common.jar in src/test/resources/lib which is unrealistic, in real life it should come in via the dependency plugin to target/lib.
As for Ales's proposal:
a.ear/b/c/d/persistence.jar with jar reference ../e/common.jar must lead to a.ear/b/c/e/common.jar. So starting from the root is not an option. Without relativity the universe comes to an end.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211419#4211419
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211419
17 years, 1 month
[Design of POJO Server] - Re: Regression on VirtualFile.toURL()
by adrian@jboss.org
"wolfc" wrote :
| But depending on how you read the specification it could be interpreted as a violation. Because jar files are no longer relative to the physical location, if the VFS is rooted at the deployment unit.
|
It's not a violation if you read the JavaEE spec, we're just not required to support it
and therefore it warns it is not portable.
e.g. JavaEE5 8.2.1.2 (talking about manifests)
anonymous wrote :
| Top level JAR ï¬les that are processed by a deployment tool should not contain
| Class-Path entries; such entries would, by deï¬nition, reference other ï¬les external to the
| deployment unit. A deployment tool is not required to process such external
| references.
|
My emphasis.
On your unit tests, you are just constructing your VFS contexts wrongly.
You need to "external references" in your VFS context by including the parent
within the VFS context your construct.
e.g. we support "external references" if you put them in deploy/
because the deployment file is constructed as
| VFS context = VFS.getVFS("deploy");
| VirtualFile deployment = context.getRoot().getChild(deploymentName);
|
so that deployment can see the whole deploy folder.
But a deployment that explicitly lists its URL in the scanner won't have a parent
because there is no equivalent of the "deploy" folder for them.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211378#4211378
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211378
17 years, 1 month
[Design of JBoss Wiki] - Status and roadmap for JBoss Wiki
by coffeemug13
My company is looking for a wiki which can be integrated into a portal. By luck we are already using jboss portal 2.7.
I'm just wondering about the status of JBoss Wiki. As I understand you developed a portlet which integrates a JSPWiki and use it at jboss.org. The development in Jira is rather old (last update is Feb 2008), binaries are only available for Portal 2.6 and status still beta2.
My question is about the future of this project.
- Can/Should we use the actual version of jboss wiki or start in the meanwhile with a plain jspwiki installation.
- Has someone an indea when it will get Release 1.0?
- Is there a migration afterwards possible?
- I assume you changed something in the jspwiki code to integrate it in the portal, like tagging, administration etc. Is there somewhere a list what is different to a plain jspwiki installation?
- Installation procedure for wiki in Portal 2.7
Thanks
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211375#4211375
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211375
17 years, 1 month