Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
36 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
0answers
22 views

MySQL Operations using ant are very slow in VM after Host OS Change

I have a developer VM that hold a mysql server that we use for development. When we were using XUbuntu 14.04 and later 16.04 our developer's fixture was loaded in 15 seconds using an ant script (and ...
0
votes
0answers
2 views

Ant script nodes not appearing in Netbean IDE 8.2

I am new to Ant build. There is a project which I am trying to learn and it happens to have a build.impl and ant-deploy.xml under the nbproject folder. According to this link, https://netbeans.org/...
0
votes
1answer
17 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
0
votes
0answers
32 views

Apache Ant log in issue

I am setting up Ant to copy php files to a staging directory and then upload (deploy) to dev (CentOS) server that I can access via WinSCP. I have it working using the Eclipse tool. I copied the ...
0
votes
1answer
125 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
0answers
61 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="...
1
vote
0answers
173 views

Cannot stat: operation not permitted (Debian)

I tried to install ant onto debian with apt-get install ant --no-install-recommends --no-install-suggests. I got the error message: dpkg: error processing /var/cache/apt/archives/ant_1.8.2-4_all.deb ...
0
votes
1answer
240 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 ...
5
votes
1answer
756 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
2answers
389 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?
0
votes
1answer
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="...
2
votes
2answers
8k 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
1answer
937 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
1answer
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/...
85
votes
6answers
108k 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
1answer
795 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
0answers
237 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
0answers
722 views

Error when I am trying to run Activiti BPM explorer

I am facing the following problem : I have downloaded Activiti BPM which runs under Apache. I have installed both; Java jre7 & Java jdk1.7.0_06. I set the JAVA_HOME to be C:\Program Files\Java\...
1
vote
1answer
361 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 ...
9
votes
3answers
17k 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/...
1
vote
1answer
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 ...
1
vote
2answers
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
1answer
610 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 ...