Questions tagged [ant]

Apache Ant (formerly Jakarta Ant) is a declarative, XML-based build tool for Java projects. It provides a rich set of standard tasks for performing most common build operations, such as compilation with javac, building archives and running tests. Ant's functionality can be extended through custom tasks and macros.

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

DTD or XSD for XML attribute where enumeration list includes null

My goal/question is to understand how to create DTD or Schema for XML where an enumeration of values for an attribute can include null as a valid value. The W3C spec for XML defines attribute ...
0 votes
1 answer
450 views

Compiler error while installing netbeans 10 with ant

I've tried different JDK's, their version but still getting this error. Linux Mint Tessa 19.1 x64 Selection Path Priority Status ----------------------...
1 vote
0 answers
508 views

installing incubating netbeans10 using apache ant

While installing build ant - netbeans from incubating-netbeans 10.0 source I see this screen. I have added Java path and installed ant. C:\Netbeans10>ant Buildfile: C:\Netbeans10\build.xml -jdk-...
0 votes
1 answer
207 views

Ant build in Intelliji won't run

I'm trying to run the Ant build but I'm not succeeding I can't even press the button of run it's completly greyed out
5 votes
1 answer
1k views

ant <scp> support for ssh-agent

I have an existing build.properties file that uses scp like this: <scp todir="${linux.user}@${linux.site}:@{todir}" keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}" trust="yes" verbose="@{...
0 votes
1 answer
757 views

Can I recover a file deleted by Ant? [duplicate]

Possible Duplicate: I need a program for recovering deleted files in Windows Is there a way to recover files deleted by Ant? I ran a script that deleted a file. However, it is not inside the ...
1 vote
2 answers
3k views

ANT_HOME doesn't match up with ant -version

I started out by trying to run ant on a java program in a RH terminal. BUILD FAILED /home/phuong3/soar/soarRepos2/soar/tools/trunk/build.xml:187: Compiler Adapter 'javac1.6' can't be found. Total ...
0 votes
1 answer
161 views

How to start LDAP service in linux using ANT task

In linux, I am able to start LDAP serice like this sudo /etc/init.d/ldap start now I want to do this using ANT: <target name="ldap-service-start" description="Start LDAP service"> &...
1 vote
0 answers
124 views

Can Apache Ant fully run a task over a fileset without stopping on the first failure?

I have a target set up in ant which runs a PHP lint check on all modified files since the last check. <target name="lint" unless="lint.done"> <apply executable="php" taskname="...
87 votes
6 answers
110k views

How do I install ant on OS X Mavericks?

After upgrading to OS X 10.9 Mavericks, ant is no longer on my path. [126] 11:23:26 rkarl-mba-4:~/mobile-baselayer > ant zsh: permission denied: ant [126] 11:23:50 rkarl-mba-4:~/mobile-baselayer &...
0 votes
1 answer
1k views

sed regex pattern matched greedy although it should not

I stumbled upon a behaviour I can not explain, hope some of you guys can help me out. I try to generate a sort of documentation from a bigger Ant project, as such I use sed to filter the information ...
0 votes
2 answers
493 views

Accidentally deleted PATH in Windows 8 [duplicate]

So last week I was trying to install Ant, and accidentally deleted my environmental variable Path. I dont really know what I am doing. What effect will this have/what can I do to fix it?
1 vote
1 answer
369 views

Concatenating many files into one

I currently have this command: copy /b *.txt newfile.txt But I want to include all files with folders as well. How can I do this? Is it possible to add this to Apache Ant as well? I also consider ...
0 votes
1 answer
2k views

ant command to start a new terminal and execute command on mac

I am trying to open a new terminal window in mac and execute a node command via ant <exec osfamily="unix" dir="${dir}" executable="open" failonerror="true"> <env key="...
11 votes
3 answers
24k views

How to install ant & ivy?

I've installed ant... and I've installed ivy (both from synaptic), but ant can't find ivy! When I run ant to build 'october-chess-engine' I get the following: BUILD FAILED /home/zeigfreid/repos/...
3 votes
2 answers
12k views

How to get Apache Ant to recognize Ivy

I'm trying to install Apache Ivy, but I can't get ant to recognize it. Per Apache Ivy installation instructions, I downloaded Ivy from osuosl.org Ivy archives, unpacked it, and copied the .jar file ...
0 votes
1 answer
1k views

Sublime Text with SuperAnt path is not correct

Since upgrading to the latest Mac OSX (10.9.1) I cannot run builds in Sublime Text using the SuperAnt tool. Here is the error: <> are my privacy omissions [Errno 2] No such file or directory: '...
1 vote
1 answer
2k views

ant not working on my ubuntu, command: ant -version

Following command ant -version is throwing error Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar screen shot: du@ubuntu-pc:~/workspace/alfresco/...
0 votes
1 answer
836 views

Install ant libraries on an Oracle Java 7 installation on Ubuntu

I was getting started on LibreOffice development and this link said to do sudo apt-get build-dep libreoffice and then do a git clone. Now, build-dep installs openJDK and I already have Oracle Java ...
1 vote
0 answers
256 views

Ant error after installing NetBeans 7.3 in Lubuntu

I have NetBeans 7.01 from Debian repository - all works. I have problem with NetBeans 7.3 from official site (installed at the same machine) - I can't compile anything: ERROR - Ant is misconfigured ...
1 vote
1 answer
7k views

How to install ant 1.8 on Ubuntu 11.04 properly

I have attempted to install ant 1.8 on a Ubuntu 11.04 box using these instructions: http://www.thegeekwork.com/how-to-install-ant-1-8-2-using-ppa-on-ubuntu/ And when I list what it has installed, I ...