Alexander Johnson wrote:
Sorry, those aren't the actual project or directory names since I was
asked to obscure the information when seeking help. I've double-checked
and the actual directory names are consistent.
Yes, the target directory is created by the same build. We're using Maven
so this all happens sequentially. The exec-maven-plugin is always
executed after the JAR files are created and the tomcat7-maven-plugin is
always executed after the exec-maven-plugin runs my permissions script.
This all happens on the same thread right up until Tomcat starts and forks
the process so there's no chance for it to be asynchronous. Good thinking
though!
Alex,
in order to be able to access the file
/opt/jenkins/workspace/MY_JENKINS_JOB/tomcat7/webapps/../../target/MY_PROJE
CT/WEB-INF/lib/activation-1.1.jar
(whatever its real path is), the user under which Tomcat runs needs to be able to read and
descend into any and all of the directories that compose that path, starting at the root
"/opt/".
(Under Unix/Linux, that means rx permissions). Are you sure that this is the
case ?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org