Ant Integration

i'm not sure of the place were to post this message, so don't hesitate to tell me if it's not the good one.

I wanna use Ant in intellij 4 to compile / deploy project.
Is there a way to grab project informations (such as srcdir, classpath), or do I have to put them twice : once in the project settingsd and once in the ant xml file ?

Thanks in advance for our replies,

Kam

1 comment
Comment actions Permalink

Is there a way to grab project informations (such as srcdir, classpath),
or do I have to put them twice : once in the project settings and once
in the ant xml file ?


You can specify properties for the ant build, and use macros to grab
project settings. See http://www.jetbrains.com/idea/docs/help/whnjs.htm
for info about the ant properties screen.

From the Properties tab, you can 'Add...' a new property. Fill in the
name, then click on the value field. You'll see a '+'. Click that, and
choose the appropriate macro (e.g. FilePath, ProjectClassPath, etc)


--
Greg

0

Please sign in to leave a comment.