Author: objectiser
Date: 2011-02-07 10:55:03 -0500 (Mon, 07 Feb 2011)
New Revision: 1302
Modified:
trunk/runtime/deployer-as6/src/main/java/org/jboss/soa/bpel/deployer/as6/AS6BPELDeployer.java
trunk/runtime/deployer-as6/src/main/java/org/jboss/soa/bpel/deployer/as6/BPELStructureDeployer.java
Log:
RIFTSAW-333 - implemented AS6 specific deployer.
Modified:
trunk/runtime/deployer-as6/src/main/java/org/jboss/soa/bpel/deployer/as6/AS6BPELDeployer.java
===================================================================
---
trunk/runtime/deployer-as6/src/main/java/org/jboss/soa/bpel/deployer/as6/AS6BPELDeployer.java 2011-02-07
12:53:00 UTC (rev 1301)
+++
trunk/runtime/deployer-as6/src/main/java/org/jboss/soa/bpel/deployer/as6/AS6BPELDeployer.java 2011-02-07
15:55:03 UTC (rev 1302)
@@ -72,11 +72,12 @@
logger.debug("Deployment unit dir="+parent);
- //VirtualFile tmp=VFSUtils.explode(parent);
+ // Explore the deployment unit (in place of previous VFSUtils.explode() which no
longer exists)
+ java.net.URL url=VFSUtils.getPhysicalURL(parent);
+ for (VirtualFile vfile : parent.getChildrenRecursively()) {
+ VFSUtils.getPhysicalURL(vfile);
+ }
- //java.net.URL url=VFSUtils.getCompatibleURL(tmp);
- java.net.URL url=VFSUtils.getPhysicalURL(root);
-
logger.debug("Deployment exploded to dir="+root+" URL="+url);
long lastModTime=0;
Modified:
trunk/runtime/deployer-as6/src/main/java/org/jboss/soa/bpel/deployer/as6/BPELStructureDeployer.java
===================================================================
---
trunk/runtime/deployer-as6/src/main/java/org/jboss/soa/bpel/deployer/as6/BPELStructureDeployer.java 2011-02-07
12:53:00 UTC (rev 1301)
+++
trunk/runtime/deployer-as6/src/main/java/org/jboss/soa/bpel/deployer/as6/BPELStructureDeployer.java 2011-02-07
15:55:03 UTC (rev 1302)
@@ -18,6 +18,8 @@
package org.jboss.soa.bpel.deployer.as6;
import org.jboss.deployers.spi.DeploymentException;
+import org.jboss.deployers.spi.structure.ContextInfo;
+import org.jboss.deployers.spi.structure.MetaDataEntry;
import org.jboss.deployers.vfs.spi.structure.StructureContext;
import org.jboss.deployers.vfs.spi.structure.helpers.AbstractStructureDeployer;
import org.jboss.scanning.annotations.spi.AnnotationRepository;
@@ -48,7 +50,7 @@
// Create the context for the deployment associated with
// the deployment descriptor's parent container
- createContext(sc);
+ createContext(sc, new String[]{"."});
}
} catch (Exception e) {
throw new DeploymentException(e);
Show replies by date