-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
My,
On 8/12/12 12:52 PM, my koseli wrote:
> I changed the build.xml to below but I still get the error. Any
> idea?
>
> <target name="manager-deploy" description="Install application in
> Tomcat"> <manager-deploy url="${tomcat.manager.url}"
> username="${tomcat.manager.username}"
> password="${tomcat.manager.password}" path="/${name}"
> war="${name}.war"/> </target>
>
> Not sure what is causing this. Any idea?
>
>
> BUILD FAILED /home/user/springapp2/build.xml:74:
> java.io.FileNotFoundException: springapp2.war (No such file or
> directory) at java.io.FileInputStream.open(Native Method) at
> java.io.FileInputStream.<init>(FileInputStream.java:137) at
> java.io.FileInputStream.<init>(FileInputStream.java:96) at
> org.apache.catalina.ant.DeployTask.execute(DeployTask.java:169) at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
The
>
above seems entirely obvious to me: the WAR file can't be found.
Try using a fully-qualified path for your "war" attribute for
<manager-deploy>.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlApOuIACgkQ9CaO5/Lv0PAHYgCfUpSXQdtXWRwbK5VZ9voupNDR
zeYAnREU6VwUtxkgXchXT35yF/5buX9a
=O28Y
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]