Generate custom IDE actions that opearte on individual files. (Compile, run, 
debug, test single class)
------------------------------------------------------------------------------------------------------

         Key: MOJO-364
         URL: http://jira.codehaus.org/browse/MOJO-364
     Project: Mojo
        Type: New Feature

  Components: netbeans  
 Environment: Tested on WinXp and Solaris 10 only but should run on any 
platform.
    Reporter: Gergely Dombi
    Priority: Minor
 Attachments: patch_060411.zip

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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to