Building ant build file using Intellij -- Setting the tofile paremeter
I am trying to build my ant file using IntelliJ. However, every time I
create my ant file it changes the tofile property under the tag to a
different jar name than I would like. I can manually change this and it
will build the jar fine, however I would like to know how to do this in
Intellij.
I have looked in the Artifacts settings but there doesn't seem to be any
configuration to the out file.
This is what my target currently looks like:
<copy file="${temp.jar.path.myjar.jar}"
tofile="${artifact.temp.output.myjar:jar}/wrongjarname.jar"/>
However I would like for it to look like this:
<copy file="${temp.jar.path.myjar.jar}"
tofile="${artifact.temp.output.myjar:jar}/myjar.jar"/>
It may be important to note that the reason I want to do this is that the
'wrongjarname' is the name of another one of my jars I am building in this
project. So when the ant build copies both jars to the tofile, it
overwrites one of the jars.
Any ideas / help would be greatly appreciated.
No comments:
Post a Comment