Patch for javac project definition
Jesse Glick
jesse.glick at sun.com
Mon Jul 9 12:07:46 PDT 2007
It seems that the javac project, as least as currently visible in the
dev.java.net SVN repo, is lacking the run and debug targets that would
let you try running the compiler on a sample file from within NetBeans
6. So I wrote up a quick patch for this (attached). If you "Run" the
project, it will try to compile its own Main.java by default; you can
pick a different command line, or define one for many runs:
---%<--- j2se/make/netbeans/compiler/nbproject/private/build.properties
run.javac.opts=-some -options -here -and /one/File.java
---%<---
"Debug" works the same but of course you can set breakpoints etc.
Have fun,
-Jesse
--
jesse.glick at sun.com netbeans.org ant.apache.org hudson.dev.java.net
http://google.com/search?q=e%5E%28pi*i%29%2B1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: javac-project.diff
Type: text/x-diff
Size: 3035 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/nb-projects-dev/attachments/20070709/dd90bb05/attachment.bin
More information about the nb-projects-dev
mailing list