users@glassfish.java.net

Re: Glassfish redeployment error with netbeans

From: <glassfish_at_javadesktop.org>
Date: Wed, 30 Jan 2008 15:19:05 PST

Well,

Product Version: NetBeans IDE 6.0 (Build 200711261600)
Java: 1.6.0_03; Java HotSpot(TM) 64-Bit Server VM 1.6.0_03-b05
System: Windows 2003 version 5.2 running on amd64; Cp1252; en_US (nb)

I am running on windows XP 64 bits.

I also noticed something like

pre-run-deploy:
Initial deploying AE51 to C:\java\NetBeansProjects\AE51\dist\gfdeploy
Error during incremental deploy: org.netbeans.modules.masterfs.filebasedfs.utils.FSException: Cannot delete file org.json-0.0.1.jar in C:/java/NetBeansProjects/AE51/dist/gfdeploy.
Start registering the project's server resources
Finished registering server resources


I think it is because of this error. And when I try to clean and rebuild the project I get
C:\java\NetBeansProjects\AE51\nbproject\build-impl.xml:356: Unable to delete file C:\java\NetBeansProjects\AE51\dist\gfdeploy\appserv-rt.jar
BUILD FAILED (total time: 0 seconds)


both appserv-rt.jar and org.json-0.0.1.jar are files that I added to project as a jar file and not from the available libraries.

Best Regards,
-C.B.
[Message sent by forum member 'segfault2007' (segfault2007)]

http://forums.java.net/jive/thread.jspa?messageID=256675