The problem is your existing
fornax-cartridges-sculptor-examples-library-web.war file in the deploy
directory. Remove that before you run ant deploy-copy.
I will write a note about this in the tutorial.

/Patrik


Jeroen Bernards wrote:
> 
> Hi all,
> 
> I'm trying to use the hot deploy feature as described in the archetype
> tutorial. When I run the ant file it fails and returns the following
> error:
> 
> 
> Buildfile:
> C:\workspaceoaw42-sculptor\fornax-cartridges-sculptor-examples-library-parent\antbuild.xml
> 
> deploy-copy:
> 
> check-exploded-war-exists:
> 
> explode-war:
>         [echo] Exploding WAR to
> C:\jboss-4.2.2.GA/server/default/deploy/fornax-cartridges-sculptor-examples-library-web.war
> ...
>         [copy] Copying 477 files to
> C:\jboss-4.2.2.GA\server\default\deploy\fornax-cartridges-sculptor-examples-library-web.war
> 
> BUILD FAILED
> C:\workspaceoaw42-sculptor\fornax-cartridges-sculptor-examples-library-parent\antbuild.xml:10:
> The following error occurred while executing this line:
> C:\workspaceoaw42-sculptor\fornax-cartridges-sculptor-examples-library-web\antbuild.xml:12:
>  
> 
> Failed to copy 
> C:\workspaceoaw42-sculptor\fornax-cartridges-sculptor-examples-library-web\target\fornax-cartridges-sculptor-examples-library-web\WEB-INF\jsp\media\updateBookConfirm.jsp
>  
> 
> to 
> C:\jboss-4.2.2.GA\server\default\deploy\fornax-cartridges-sculptor-examples-library-web.war\WEB-INF\jsp\media\updateBookConfirm.jsp
>  
> 
> due to java.io.FileNotFoundException 
> C:\jboss-4.2.2.GA\server\default\deploy\fornax-cartridges-sculptor-examples-library-web.war\WEB-INF\jsp\media\updateBookConfirm.jsp
> (The system cannot find the path specified)
> 
> Total time: 547 milliseconds
> 
> 
> 
> The war-file is already deployed, is working properly and can be found on
> the path shown in the error message. The jsp-file can also be found on the
> mentioned paths. 
> 
> Does anybody have an idea about how to solve this? Thanks in advance for
> any help.
> 
> Regards,
> Jeroen.
> 

-- 
View this message in context: 
http://www.nabble.com/-Sculptor--Hot-Deploy-tp17422159s17564p17432762.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to