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.
16
questions
2
votes
1
answer
23k
views
How to find out the correct path for ANT_HOME in Linux?
I'm using Ubuntu 14.04 (on a VirtualBox VM) and installed Apache Ant via aptitude:
$ aptitude install ant
The binary is stored in /usr/bin/:
$ which ant
/usr/bin/ant
Now I want to set ANT_HOME and ...
1
vote
0
answers
60
views
FTP automate download process not working on windows
I have my script as following:
<?xml version="1.0" encoding="UTF-8"?>
<project name="Getting from FTP" default="info" basedir=".">
<target name="info">
<property name="...
1
vote
3
answers
1k
views
How to increase heap size for ws_ant.sh when deploying on WebSphere 8.5 (64-bit Linux)
TL;DR -- How do I give ws_ant.sh and/or the <wsInstallApp> task more heap at runtime?
I am attempting to deploy a relatively large (~160-MB) EAR file to WebSphere 8.5 running on a 64-bit Linux ...
1
vote
1
answer
2k
views
Apache Ant setup in Aix
I want to install Apache Ant on my AIX 6.1 Server and I'm facing some issues.
When I visit the link http://ant.apache.org/manual/install.html I did not understand the installation step for the files ...
0
votes
2
answers
499
views
Postfix able to receive email but not able to send it
I had postfix running on my machine(comes with centos minimal), but today I configured it to use my domain for the sake of example this is my domain name example.com . Here is my config :
...
0
votes
1
answer
883
views
I want to deploy my php based web application with apache-ant. How can I do that?
I googled it. But unfortunately did not get the specific answer. I am a fan of command line and typing. So now, I want to deploy my php based web application with apache-ant. How can I do that? Also I ...
1
vote
1
answer
4k
views
Need to execute script file using sudo - run from teamcity
I need to execute a script in Linux platform "runme.sh" (which can be executed as sudo user) using another ant script "build.xml". Now i have execute this build.xml from teamcity.
I have code for ...
-1
votes
3
answers
4k
views
How do I install latest version of ANT on CentOS 5 x64 [closed]
I've installed ANT via yum but it's to old of a version. Not sure how to install it on it's own.
0
votes
1
answer
269
views
Access violation at address in module "ANTserver.exe"
I'm getting this error whenever a user attempts to connect to an ANT server...
Exception EAccessViolation raised in ReadRequest: Access violation at address 00071F40 in module 'ANTserver.exe'. Read ...
2
votes
2
answers
3k
views
ant doesnt get the library dependencies
My system: Windows 7
Ant Version: 1.8.2
JDK: 1.6.27 x64
Sorry Im starting to work with ant and currently trying to install it properly.
When I type in cmd this command:
ant -f fetch.xml -Ddest=...
0
votes
1
answer
216
views
Where Does Jasper Reports Store Generated Reports
I've been able to generate sample reports in Jasper Reports tied with ANT and JDK, my question is, when I do the "ant pdf" command, it builds the report successfully, but where does it store it to?
...
1
vote
2
answers
1k
views
Ubuntu export JAVA_HOME ,ANT_HOME
Ubuntu 11.04
open terminal
JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.24/
export JAVA_HOME
echo $JAVA_HOME
==>/usr/lib/jvm/java-6-sun-1.6.0.24/
i close the terminal
open another terminal
echo $...
2
votes
1
answer
7k
views
Error : Could not find End Of Central Directory
I am trying to deploy a war on weblogic9 using an ant task on a Unix box. I am getting the following error :[wldeploy] Error opening file [file path] Could not find End Of Central Directory.The war ...
0
votes
2
answers
5k
views
How do I restart a WebLogic domain remotely using Ant?
I have a setup where I'm running Oracle BPEL Process Manager in a set of WebLogic 9.2 servers. I have a release management system on another server that builds and deploys BPEL suitcases into these ...
0
votes
1
answer
5k
views
Ant task to pre-compile JSPs on weblogic server
I am trying to create an ant task to compile JSPs. Here are the excerpts from the build.xml related to the task:
....
<fileset dir="${java....
1
vote
3
answers
4k
views
Remotely reboot tomcat
I am trying to reboot my tomcat version 5 on a centos server from my dev box. I can login as a normal user(not root) but I need to be able to reboot the service. Is there a config file that I can ...