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
1answer
125 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
0answers
66 views

VS Code and Ant Incompatibility?

I am not a developer but have used Eclipse in the past to download the metadata which is easy to use with ant for deployments as the file structure is compatible. ie the Package.xml and related ...
0
votes
0answers
60 views

Ant script exec returns -1073741515

I'm using Ant script in DevOps pipeline and the script stops with an exec return code of -1073741515 The error occurs when the executing [command]C:\WINDOWS\system32\cmd.exe /D /S /C ""C:\Program ...
0
votes
1answer
313 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
0answers
499 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
1answer
24 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
1answer
150 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
83 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="...
0
votes
1answer
513 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
948 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
452 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
9k 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
970 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/...
86
votes
6answers
109k 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
815 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
245 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
799 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
362 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 ...
11
votes
3answers
20k 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
681 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 ...