Hi Matt and all,
I have a project using Appfuse 1.9.4 as the framework, and in your
original test-jsp target in the build.xml, you have the cargo to manage
an internal tomcat instance for the webtest, which deploys the war to
tomcat's default webapps dir. But now I would like to deploy my app to a
custom webapps dir, e.g a dir in tomcat5x/myproject-webapps. Meanwhile,
I also need to deploy the webapp context file to
tomcat5x/conf/Catalina/localhost/ dir.
<cargo containerId="${cargoId}" id="${cargoId}" home="${tomcat.home}"
action="start" output="${test.dir}/cargo.log" wait="false">
<configuration home="${test.dir}/${cargoId}">
<property name="cargo.logging" value="high"/>
<property name="cargo.servlet.port" value="${http.port}"/>
<property name="cargo.jvmargs"
value="${run.executive.test.debugargline}"/>
<deployable type="war" file="${webapp.dist}/${webapp.war}"/>
</configuration>
</cargo>
I looked into the Cargo doc/api and don't think Cargo supports such a
custom deployment via its <deployable> tag. Do you have any
experience/idea on how to manage this? Please note we can not do, say
start cargo, copy custom webapps and context files and then stop and
restart the cargo via its action property, because cargo will
clean/rebuild the tomcat5x instance every time when calling start action.
Cheers
Haotian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]