>>>>> "Kai" == Kai Gro�johann <[EMAIL PROTECTED]> writes:

  Kai> I have some lengthy class path statements for compilation in
  Kai> build.xml, and I thought it would be cool if JDEE could make
  Kai> use of that for C-c C-v C-z and friends.  Then I wouldn't have
  Kai> to update the paths in two places.  -- Two cafe au lait please,
  Kai> but without milk.


This is something that I would also love to have. And as well as class
path, I'd like to add to the javadoc locations, specify a main class,
and so on. 

I have not come up with a good solution yet, although there are a
couple of possibilities. 

You could use a "replace" task in ant, and fill in your classpath as
"@CLASSPATH@" or some such. The only difficulty with this is that JDE
by default saves to prj.el. To get this to work you would need to get
it so save to prj.src.el (or whatever) and load from a prj.el
generated by ant. 

The other possibility is this ant task here...

http://i3sp-build.sourceforge.net/javadoc/com/i3sp/ant/JdeProject.html


I've not tried this yet. The documentation suggests that it creates a
prj.el, which would be no good for me, as I would want it to update an
existing prj.el. It would also be sensitive to changes in the
underlying types of the various entities in the prj.el. 

Let me know if you can think of a better alternative!

Phil

Reply via email to