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.
21
questions
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
455
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
228
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
1
answer
162
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
132
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
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 ...
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
2
answers
494
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
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="...
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/...
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
837
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 ...