Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Environment:Tested on WinXp and Solaris 10 only but should run on any platform.
-
Testcase included:yes
-
Number of attachments :1
Description
In a normal netbeans project it is possible to compile, run, debug or test single files.We can to map these IDE actions to
Ant targets so it is also possible to generate the proper Ant build script and the bindings between the Ant targets and the IDE
actions from the POM. I attached a patch that deals with this issue: it generates the custom actions to compile a set of selected files,
to run and to debug a single file. The patch works fine for me on WinXP and Solaris 10 environments.
Some limitations however:
JUnit tests are missing (however the included test cases in the release 2.0 also failed for me)
For the sake of simplicity the standard maven2 directory layout is assumed to be used. A final solution should figure the source locations out of the POM.
I could not manage to run the test.single IDE action up to now. It supposed to work just as the others but due to some netbeans/ant1.6/junit
classpath mistery it does not have the class being tested on its classpath. If someone has any idea on this topic I would be very glad.
-
Hide
- patch_060411.zip
- 11/Apr/06 4:30 AM
- 98 kB
- Gergely Dombi
-
- patch/changelog.txt 12 kB
- patch/src/.svn/dir-wcprops 0.1 kB
- patch/src/.svn/empty-file 0.0 kB
- patch/src/.svn/entries 0.5 kB
- patch/src/.svn/format 0.0 kB
- patch/src/.svn/README.txt 0.1 kB
- patch/src/main/.svn/dir-wcprops 0.1 kB
- patch/src/main/.svn/empty-file 0.0 kB
- patch/src/main/.svn/entries 0.5 kB
- patch/src/main/.svn/format 0.0 kB
- patch/src/main/.svn/README.txt 0.1 kB
- patch/src/main/java/.svn/dir-wcprops 0.1 kB
- patch/src/main/java/.svn/empty-file 0.0 kB
- patch/src/main/java/.svn/entries 0.4 kB
- patch/src/main/java/.svn/format 0.0 kB
- patch/src/main/java/.svn/README.txt 0.1 kB
- patch/src/main/java/org/.svn/dir-wcprops 0.1 kB
- patch/src/main/java/org/.svn/empty-file 0.0 kB
- patch/src/main/java/org/.svn/entries 0.4 kB
- patch/src/main/java/org/.svn/format 0.0 kB
- patch/src/main/java/org/.svn/README.txt 0.1 kB
- patch/src/main/.../codehaus/.svn/dir-wcprops 0.1 kB
- patch/src/main/.../codehaus/.svn/empty-file 0.0 kB
- patch/src/main/.../codehaus/.svn/entries 0.5 kB
- patch/src/main/java/.../codehaus/.svn/format 0.0 kB
- patch/src/main/.../codehaus/.svn/README.txt 0.1 kB
- patch/src/main/.../mojo/.svn/dir-wcprops 0.1 kB
- patch/src/main/java/.../mojo/.svn/empty-file 0.0 kB
- patch/src/main/java/.../mojo/.svn/entries 0.5 kB
- patch/src/main/java/.../mojo/.svn/format 0.0 kB
fixed by revision 1817