[jboss-user] [JBoss Tools (users)] - Re: EAR Auto-Deployment Issue with Ganymede and JBoss Tools
kenny.stainback
do-not-reply at jboss.com
Tue Dec 23 14:52:33 EST 2008
Thanks for the quick response - I'll try to clarify. The project archive for the web project's WEB-INF/lib directory contains a JAR project archive (see my .packages file content below). Initially everything deploys successfully. If I update an html file or Java class in my web project (deploy-test.war), the change is detected and it publishes the change to the server - excellent.
My issue is that when I modify a Java class in my jar project (deploy-test-jar), the change is not published to the server. Likewise, if I have an EAR archive that contains a WAR archive, changes made to the war project will not auto-republish if modified.
If I look at this from a .packages file perspective, it looks like the auto-publishing feature works for file resources defined directly below the root "package" element, but not for those defined within child "package" elements (ie, works for package name="deploy-test.war", but not for child package name="deploy-test.jar").
If I manually perform a "publish to Server", the changes will push across fine. So, I'm specifically talking about the change detection bit not detecting changes to child packages.
| <?xml version="1.0" encoding="UTF-8"?>
|
| <packages version="1.2">
| <package name="deploy-test.war" type="org.jboss.ide.eclipse.as.core.packages.warPackage" todir="/cgwgs-master-alpha/build/expanded-archives/main/gets/jboss-5.0.0.GA/server/standard/deploy" exploded="true" inWorkspace="true">
| <fileset dir="/deploy-test/WebContent" includes="**/*" excludes="**/WEB-INF/lib/*.jar" inWorkspace="true" flatten="false">
| <properties></properties>
| </fileset>
| <folder name="WEB-INF">
| <folder name="lib">
| <package name="deploy-test.jar" type="jar" exploded="true" inWorkspace="true">
| <fileset dir="/deploy-test-jar/bin" includes="**" inWorkspace="true" flatten="false">
| <properties></properties>
| </fileset>
| <properties>
| <property name="org.jboss.ide.eclipse.as.core.model.PackagesListener.DeployAfterBuild" value="true"></property>
| <property name="org.jboss.ide.eclipse.as.core.model.PackagesListener.DeployServers" value="JBoss 5.0 Server,"></property>
| </properties>
| </package>
| <fileset dir="/deploy-test/WebContent/WEB-INF/lib" includes="*.jar" inWorkspace="true" flatten="false">
| <properties></properties>
| </fileset>
| <properties></properties>
| </folder>
| <folder name="classes">
| <fileset dir="/deploy-test/build/classes" includes="**/*" inWorkspace="true" flatten="false">
| <properties></properties>
| </fileset>
| <properties></properties>
| </folder>
| <properties></properties>
| </folder>
| <properties>
| <property name="org.jboss.ide.eclipse.as.core.packages.ModuleIDPropertyKey" value="1230060495108"></property>
| <property name="org.jboss.ide.eclipse.as.core.model.PackagesListener.DeployAfterBuild" value="true"></property>
| <property name="org.jboss.ide.eclipse.as.core.model.PackagesListener.DeployServers" value="JBoss 5.0 Server,"></property>
| </properties>
| </package>
| <properties></properties>
| </packages>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198364#4198364
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198364
More information about the jboss-user
mailing list