build.xml Questions

6

I have an android project which has an Ant buildfile. It works great via the command-line: rascher@coltrane:~/git/$ ant Buildfile: build.xml [setup] Android SDK Tools Revision 8 [setup] Project ...
Reardon asked 27/2, 2011 at 20:34

4

Solved

I have a build.xml file that works fine. The problem is that the generated jar file, and I need to run it without 'ant run' How can I run the jar file? running with java -jar Main.jar main.Main ...
Jingoism asked 21/3, 2012 at 14:25

3

Solved

What tool can take an Ant build file as input and display a graph of all the target dependencies? It should consider imports as well. I tried vizant, but it does not read imported files.
Sleepwalk asked 9/11, 2010 at 14:43

2

Solved

I know that, we can very well use ANT and Maven together to build the project.We can run ANT scripts through Maven's POM.xml. But my question is can we run pom.xml through ANT's build.xml ? i.e. ca...
Tiflis asked 26/9, 2011 at 9:7

1

I recently started playing with SASS [http://sass-lang.com/] in a Java-based project and wanted to create an Ant task that: for each .scss file + subdirectories containing .scss files in a top-le...
Chatterton asked 31/8, 2011 at 19:28

1

Solved

I'd like to know how to shorten lines containing long string literals in my ant build.xml file. For example: <target name="foo" description="I sure do have a lot to say. Blah Blah. This is get...
Pravit asked 26/8, 2011 at 16:31

1

Solved

Is there a possibility to literally override a target or emulate this somehow? So, when I call <target perform-after="release"> <do-something /> </target> It will act like th...
Mansoor asked 8/8, 2011 at 8:44

5

I'm trying to re-familiarize my self with the Eclipse environment and ant integration. Question is: how to keep my sources dir + build.xml separate from the workspace? What I have is a small java...
Fortaleza asked 18/3, 2011 at 22:21

6

I'm using Windows and I'm trying to get ANT to work. When I do an ant build from the command line, I get: C:\dev\Projects\springapp\${%ANT_HOME%}\lib not found. I look into the build.xml file and...
Invoke asked 10/9, 2008 at 21:45

3

Solved

I am executing lot of scp and sshexec and other remote commands from an ant build script. These commands don't work if jsch.jar isn't in the ant lib directory. To make it work, I copied the JAR int...
Charnel asked 24/2, 2011 at 12:15

2

Solved

I am getting the following error while obfuscating my application. How can i define the output jar in my build.xml? [java] Shrinking... [java] java.io.IOException: The output jar is empty. Did y...
Marieann asked 3/8, 2010 at 19:51

1

Solved

Please help, I'm going slightly mad!! I'm using Eclipse-generated antfiles to build a project with dependencies, one of which has its own buildfile in a directory which is a sibling to the direct ...
Foliate asked 3/12, 2009 at 14:25

© 2022 - 2024 — McMap. All rights reserved.