I’m using the Intellij Idea IDE and I am able to run projects fine from within the IDE. However, I’m struggling to utilize the build.xml ANT targets that come with the SDK (which I’ve copied and slightly edited to work with Idea). I’m not too knowledgeable about build targets. I’ve got assets-impl.xml, build.xml, and build-impl.xml in my project root directory, along with the properties files from the SDK (and the “private” folder containing more properties). When I run the jar build target, I’m getting an error that I must set src.dir. This value is set in project.properties and Idea sees this as a used value. I’m having lots of issues like this.
Basically, can anyone tell me what I might be missing to get this going? I wish there was a simple existing Idea project I could copy and work from.
Like I said, the sample projects work fine from inside the IDE, I just can’t figure out how to deploy them to a jar.
I should mention that before the jar build target fails, it does create a dist directory containing README.TXT and TestGame.jar (which is only 883 bytes and does not load). Also, it creates dist/lib which contains 24 jars.
Thanks for any help you guys can give.