History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-11299
Type: Usability Problem Usability Problem
Status: Open Open
Assignee: Eugene Zhuravlev
Reporter: Sascha Weinreuter
Votes: 3
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Generate Ant Build should include classpath-reference for javac2 taskdef

Created: 30 Jan 07 01:33   Updated: 30 Jan 07 18:11
Component/s: Ant Integration

Build: 6,667
Severity: Medium


 Description  « Hide
Currently it creates just

<taskdef name="javac2" classname="com.intellij.ant.Javac2"/>

which has to be edited to make the task work (or include the libs into the ant classpath, but usually I try to avoid that). The build-file would be more flexible if the taskdef referenced a classpath definition that can even be defined externally in a build-file which includes the generated one:

<taskdef name="javac2" classname="com.intellij.ant.Javac2" classpathref="javac2.classpath" />

Optionally, you could even generate the appropriate path definition based on an IDEA-installation:

<path id="javac2.classpath">
  <fileset dir="${idea.home}/lib">
    <include name="javac2.jar" />
    <include name="jdom.jar" />
    <include name="asm.jar" />
    <include name="asm-commons.jar" />
  </fileset>
</path>

This could be commented out, but would help beginners probably more than just naming the required files.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.