This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 148340 - the -post-compile and target is no longer called when building in 6.5
Summary: the -post-compile and target is no longer called when building in 6.5
Status: RESOLVED DUPLICATE of bug 145772
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Jesse Glick
URL: http://blogs.sun.com/bblfish/entry/se...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-25 12:28 UTC by bblfish
Modified: 2008-09-25 18:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bblfish 2008-09-25 12:28:28 UTC
When building the project I describe http://blogs.sun.com/bblfish/entry/serialising_java_objects_to_rdf 
the post compilation succeeds in 6.1. In NB 6.5 it does not recompile the source, leading the program to fail. Running
ant compile from the command line seems to work.
Comment 1 Jesse Glick 2008-09-25 16:30:40 UTC
Try turning off Compile on Save if you have a custom build process.

*** This issue has been marked as a duplicate of 145772 ***
Comment 2 bblfish 2008-09-25 16:40:25 UTC
yes that works. I unchecked "compile on save" in the Properties of my project and now it it runs correctly.

Is there a better way of doing this?
Comment 3 Jesse Glick 2008-09-25 18:40:16 UTC
Nope, that's it. CoS assumes that you have no special build procedure and bypasses Ant for the basic
compile-run-debug-test cycle (still using Ant for creating a final JAR etc. when needed). When your project requires
special build steps just to run in the normal development cycle, CoS cannot be used.