I'm building a Flex application that will need run under two different deployment scenarios:
First, the application will be hosted on the web. The SWF loads some external resources (images, text) so it requires network access, which is the Flex Builder 3 default build flag "-use-network=true". I don't need to do anything special; it j...
Hello,
I'm using ant with svntask to update a repository before I build an application. At the end of the build, an email goes out with the results of the build. It would be very helpful to include the svn revision number and message in that email, so if the build breaks, we know which revision to review.
I am currently displaying only...
I'm running into 'Error: Java heap space, java.lang.OutOfMemoryError: Java heap space' when compiling an existing project on OS X (Snow Leopard).
I am using the default Java 1.6 64-bit SDK, and default install of Ant (both are provided as part of the OS).
I have encountered this issue in other OS environments and normally solve it by...
I have a project that is built and managed by Maven. I have a second project that has an ant build. I'd like to reference the maven project from the ant project and pull in all of the required dependencies. Can anyone suggest a way to do this?
thanks,
Jeff
...
Hi there!
I've got a problem which I couldn't solve for a few days, please help me.
I'd like to execute an ant-script within netbeans. the script needs a special classpath which a plugin/module made by myself puts into a "global-variable". The variable can be shown using the netbeans "Manage variables"-dialog. So it's working, I guess
...
Hi all,
I'm currently re-using JUnit 4 tests from another project against my code. I obtain them directly from the other project's repository as part of my automated Ant build. This is great, as it ensures I keep my code green against the very latest version of the tests.
However, there is a subset of tests that I never expect to pass ...
Let me preface by saying that I'm new to ant, and I'm using version 1.6.5 if it matters.
I have a file with a list of files that I want to concatenate. The relevant part of my first attempt was this:
<target name="for-each">
<xmlproperty file="scripts.xml" collapseAttributes="true" />
<echo message="testing for-each"/>
<con...
i'm writing a bash script to automate the build process. there are two major build blocks, one is an ant task and one is a plain old "mvn clean install". i want to do something when there are build error coming from either of this two build processes.
and the problem is, these builds will contain test failures or errors from time to ti...
I'm new to ant, and I want to require a file name if something other than the default target is used, so the calling syntax would be something like this:
ant specifictarget -Dfile=myfile
I'm using the ant contrib package to give me additional functionality, so I have this:
<if>
<equals arg1="${file}" arg2="" />
<then>
...
what's the point of using ant, maven, and buildr? won't the using build in eclipse or netbeans work fine? i'm just curious as to what makes the build tools so special
...
Hi,
I'm trying to run the Hello World example of the TWUIK SDK. Unfortunately ant aborts with the following error message:
Sorry, could not proceed. Please check if your SDK stub is supplied in your arguments' list.
How can I specify it?
Thanks.
...
tar zcvf Test.tar.gz /var/trac/test /var/svn/test
So far I have:
<target name="archive" depends="init">
<tar compression="gzip" destfile="test.tar.gz">
<tarfileset dir="/">
<include name="/var/trac/test" />
</tarfileset>
<tarfileset dir="/">
<include name="/var/trac/svn" />
<...
Is there a way to find what architecture an ant script is running on? Currently I have the following:
<echo>System = ${os.name} ${os.arch}</echo>
which produces:
[echo] System = Linux i386
This not correct, as I am running 64 bit linux.
Thank you
...
I am trying to build the dom4j JAR, which includes an xml-apis JAR which contains a DOM API that is older than that shipped with more recent JDKs.
However, even though in the build file the source and target compiler attributes are set to 1.3, and even though the xml-apis JAR is included in the build path, Ant still tries to compile dom...
I use Eclipse with ant scripts, and Eclipse works well with the default JRE installation on Windows XP.
The annoyance comes when I want to run ant scripts compiling with the javac-tag, where it fails because there is no tools.jar in the classpath.
I've gotten the idea that if I could make the JDK become the default Java on Windows, the...
Hello,
I'm running ant task that runs junit test from within maven, using maven-antrun-plugin. The invocation looks like this:
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>ant-test</id>
<phase>test</phase>
<goals>
<goal>run</goal>
</goals>
<configuratio...
My batch file includes following code,
cd C:\Ant
Ant
How can I execute this file in PHP.
I've tried everything including,
system();
exec();
passthru();
but none of these functions worked for me.
Please I need urgent help.
Thanks in advance,
-Avirat.
...
I have begun working on a project that, at the moment, produces a monolithic JAR file from an Eclipse project. Basically, there is an Ant script that runs anytime the Eclipse Java Builder runs and takes the output of the Eclipse Java Builder (the .class files) and packages that up into a JAR file. That JAR file is then placed in a comm...
I am trying to get Selenium Grid to run using NAnt but am a little lost, as all explanations I can find use Ant - although I thought they were fairly similar, I can't seem to fire off Selenium Grid on my local PC in this way.
Here's the URLs to the Selenium Grid pages online that I've found, but they refer to Ant...
Get started
...lea...
I would like to build a flex library project automatically instead of the current process, which involves one of our developers compiling it on his machine and then us checking in the resulting .swc file. It's gross.
I am coming at this from the perspective of a java developer, so I'm having a hard time getting the hang of the compilat...