Yes, we've been discussing Ant integration as a long term
goal for a while now, and it's definitely something we'd
like to see in DrJava. Although the two feature requests
are different, this is related to 748389 ("Project
Support"), since we plan to save simple project files as Ant
build scripts.
Some possibilities for Ant integration:
- Have a "Build" button on the toolbar, which brings up a
small dialog with a list of the available targets in the
"current" build.xml. (Not sure how we would determine which
build.xml is "current", though.)
- Allow build scripts to be easily edited in the
Definitions Pane, with correct syntax coloring and
indentation for XML.
- Perhaps provide wizards for writing common targets, like
"compile", "clean", "test", and "commit". This could be
related to the Project Support feature request.
Anyway, thanks for the request-- we'll continue to post
ideas here as we discuss how to proceed with it.
Charlie
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You might look at the JCompiler plugin to jEdit. It is a stop
between the compile stuff you have and Ant. In particular,
the plugin has a (re)build package capability. It looks at the
file you currently have open, figures out the top of the
package and bulds it all! I opened a file in
src\edu\rice\cs\drjava and the plugin is trying to recompile
347 files for me!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=429731
Yes, we've been discussing Ant integration as a long term
goal for a while now, and it's definitely something we'd
like to see in DrJava. Although the two feature requests
are different, this is related to 748389 ("Project
Support"), since we plan to save simple project files as Ant
build scripts.
Some possibilities for Ant integration:
- Have a "Build" button on the toolbar, which brings up a
small dialog with a list of the available targets in the
"current" build.xml. (Not sure how we would determine which
build.xml is "current", though.)
- Allow build scripts to be easily edited in the
Definitions Pane, with correct syntax coloring and
indentation for XML.
- Perhaps provide wizards for writing common targets, like
"compile", "clean", "test", and "commit". This could be
related to the Project Support feature request.
Anyway, thanks for the request-- we'll continue to post
ideas here as we discuss how to proceed with it.
Charlie
Logged In: YES
user_id=69421
You might look at the JCompiler plugin to jEdit. It is a stop
between the compile stuff you have and Ant. In particular,
the plugin has a (re)build package capability. It looks at the
file you currently have open, figures out the top of the
package and bulds it all! I opened a file in
src\edu\rice\cs\drjava and the plugin is trying to recompile
347 files for me!
Logged In: NO
I would really like to see the same.
I'd love my students to use this, but I must have ant
integration.