NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
pink123
Joined: 04 Feb 2011 Posts: 15
|
Posted: Fri Feb 18, 2011 6:03 pm Post subject: Changes in java code not reflecting in .jar file |
|
|
Hi,
I have a web application in netbeans.When I build my project,a .war file is generated at a location and the .war file contains .jar file.
All the .class files are inside the .jar file and not under web/inf/classes
when I extract the .jar file from the .war file the modified date is not changed and the .class is not modified.
Please help me to solve this issue.I am stuck up.
Thanks |
|
| Back to top |
|
 |
Tony Posted via mailing list.
|
Posted: Fri Feb 18, 2011 8:35 pm Post subject: Re: Changes in java code not reflecting in .jar file |
|
|
Why are you trying to extract these files?
The jar is packaged ready to deploy. There should be no need to extract
them.
If you really, really need to look at the .class files, then you just look
under the build directory for the project (look on the files tab).
I think you might be trying to say that the build fails to modify the files
and no changes come through when you deploy the project. Have you tried to
Clean & Build?
Does the output window show any errors during the build?
A compile error will normally stop the build and NOT rebuild the WAR file.
Also, if you have been in debug mode and the server is currently running
(even if you have cancelled the debug session but not shut the server down),
the fact that the server has the files open will sometimes, under Windows,
cause the build process to fail.
Tony
-----Original Message-----
From: pink123 [mailto:address-removed]
Sent: 18 February 2011 18:04
To: address-removed
Subject: [nbj2ee] Changes in java code not reflecting in .jar file
Hi,
I have a web application in netbeans.When I build my project,a .war file is
generated at a location and the .war file contains .jar file.
All the .class files are inside the .jar file and not under web/inf/classes
when I extract the .jar file from the .war file the modified date is not
changed and the .class is not modified.
Please help me to solve this issue.I am stuck up.
Thanks |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|