[Design of JBoss jBPM] - Re: comments on initial xsd jpdl 4
by tom.baeyens@jboss.com
we discussed exactly the topic element vs attribute a full hour yesterday. and we swinged back and forth between element and attribute.
we looked into various bpmn modellers to see what kind of information they had apart from the
* diagram size
* activity box bounds coordinates, width and height
* transition/flow anchor points and bendpoints
it turned out to be only color and font in activities. therefor we think it should not be made extensible. and we thought about what the scope was of our graphical designer efforts.
g is only for the gpd. other extensions should go into their own extension element / attribute.
maybe we should even not put the g declaration in the xsd and cause every element should have an anyAttribute declaration for extensibility.
does this reasoning make sense to you as well ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191119#4191119
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191119
17 years, 4 months
[Design of EJB 3.0] - Failing 'factory' tests
by ALRubinger
This one is for Carlo.
Server error is:
Caused by: java.lang.IllegalArgumentException: Can't find a deployment unit named session2.jar at AbstractVFSDeploymentContext@206176{vfszip:/home/alrubinger/business/jboss/wc/jbossas/projects/ejb3/trunk/testsuite/target/test-lib/factory-test.ear}
EAR layout is:
EAR
| |--- session1.jar
| |--- session2.jar
..and the resolving code is:
private static DeploymentUnit getDeploymentUnit(DeploymentUnit current, String path)
| {
| if(path.startsWith("/"))
| return getDeploymentUnit(current.getTopLevel(), path.substring(1));
| if(path.startsWith("./"))
| return getDeploymentUnit(current, path.substring(2));
| if(path.startsWith("../"))
| return getDeploymentUnit(current.getParent(), path.substring(3));
| int i = path.indexOf('/');
| String name;
| if(i == -1)
| name = path;
| else
| name = path.substring(0, i);
| for(DeploymentUnit child : current.getChildren())
| {
| if(child.getName().equals(name))
| return child;
| }
| throw new IllegalArgumentException("Can't find a deployment unit named " + name + " at " + current);
| }
We can only get PersistenceUnits of child relationships? Not siblings or of anything else in the same EAR?
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191116#4191116
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191116
17 years, 4 months