I am using Flex 3.5.0.12683 with hudson CI server and Ant to compile our project. While compiling resource bundles for this project I am having problems.
With root user everything is compiled successfully but when I am trying to compile my flex project with hudson (ant) it fails with:
compile_resource:
[mxmlc] Loading configuration fil...
I am writing a directory path to a text file from ant, which is later read by a Java Application to find another file.
In my ant script I have:
<property name="fulltrainer.dir" location="${trainer.dir}" />
<echo file="${trainer.dir}/properties/commonConfig.properties"># KEY VALUE
CurrentBuildFile=${fulltrainer.dir}\current_bu...
Hi,
i have trying to use some global variable in my ant file.
when i do login through terminal. i can acess those variable like JAVA_HOME
but when i am trying to acess variable through the ant command i am not able to find them.
global variable declared in .cshrc
setenv JAVA_HOME jdk_full_path
ant code using variable.
<property...
Hello,
I would like to write a simple Ant task that would interact with an Eclipse workspace to get some information from it. I would like to be able to use the various Eclipse API's (for example, IWorkspace).
My question is what would be the simplest way to go about doing this.
I have excellent knowledge of the Eclipse platform as a ...
Trying to get production application to work with hsqldb. The application is built with ant and the compile.classpath is set with hsqldb.jar and the application is executed with hsqldb.jar in the classpath. All versions of the jar file are the same and up to date, however, I'm getting a "pre-9.0 client attemtped to connect. We rejected...
i am creating a user by using ant target as below
<target name="create_user">
<exec executable="sqlplus" dir="${basedir}/dbsetup">
<arg value="system/oracle@orcl"/>
<arg value="@create_user.sql"/>
</exec>
</target>
and the sql files is as follows........
create user test identified by password;
gra...
I have a java project in Eclipse that is built through ANT. Normally, I see the resulting Jar appear in the workspace in Eclipse. Suddenly, for this project only, the jar just doesn't show up within Eclipse. I know the jar is being created because when I look at the workspace within Windows Explorer, I see the Jar. How can I get E...
I have an android project that uses ant to build, is it possible to import this ant project in eclipse IDE?
update : There is an option to create project using ant build.xml in eclipse File->New->Project->Java->Java project from existing ant Buildfile. and if the build.xml file is selected it show error "Specified buildfile does not con...
My java application uses log4j for logging. Using ant the project builds successfully, but I am unable to run it. The error I get is
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/Log
.........
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.Log
My classpath contains the ...
Hello
I've got an ant file which looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<project name="p" default="compile" basedir=".">
<path id="compile.cliClasspath">
<fileset dir="./WebContent/WEB-INF/lib">
<include name="*.jar" />
</fileset>
</path>
<target name="init">
<!-- Create the time stamp -->
<tst...
Hello
I have built a web app using Tomcat 6 as a container. I was using a couple of Jars of Tomcat's and referring to them from my ant build in Eclipse.
I've written another ant build to deploy my app into a .war and then together with an application.xml deployment descriptor into an .ear for deploying to WAS 7. In order to support t...
I am trying to overwrite the default icon of installer JAR created by IzPack, with one from my application:
<jar update="yes"
jarfile="${pwd}/dist/${release}_installer.jar">
<zipfileset src="${pwd}/dist/app.jar" includes="com/izforge/izpack/panels/**"/>
<zipfileset src="${pwd}/dist/app.jar"
includes="com/xyz/img/logo.png" fu...
I have an Ant build script that instruments some jar files, starts some servers using those jars files and then runs an integration test suite of junit tests against them.
I want to capture the cobertura.ser file from each server in a separate file.
The servers need to have their working directory set so they can pick up config files. ...
Hi All,
Below is a snippet from my build.xml file.
I want to modify the file so that the jar name is set depending on the value of a variable within the build file.
<info
jarName="java get"
jarUrl="${deploy-url}${polish.jarName}"
/>
So something like -
<info
if(${deploy-url} == "test")
jarName="java get"
else
jarName="java t...
<target name="results">
<echo message="Calculating QI" />
<java jar="jmt.jar" fork="true" failonerror="true" maxmemory="1024m" classpath="jmt/jmt">
<arg value="-name:KIS"/>
<arg value="-results:CONSOLE"/>
<arg value="../allJavas.jar"/>
</java>
</target>
i want from folder tmp run jar file in folde...
I have a list of jars in an ant task like this..
<path id="lib.path.id">
<fileset dir="${lib.dir}">
<include name="jar/*.jar"/>
</fileset>
</path>
I want to unroll this into a config file like this..
wrapper.java.classpath.1=../lib/activation.jar
wrapper.java.classpath.2=../lib/bcel.jar
wrapper.java.classpath.3=../l...
===Updated===
I'm going to try and re-word this to elicit more response. Does the javadoc artifact in Ivy have to be a jar or zip file? Or can I define the artifact to be a URL similar to http://download.oracle.com/javase/1.5.0/docs/api/?
I know you can define an Ivy artifact as a url to download the file from, but that is not what I wa...
Java/Eclipse. Development works fine. We have either Windows or FreeBSD for build server.
To deploy though I would like to do the following (in a very automated way):
1: Pull down everything from source control (perforce)
2: build all source (and all dependency projects) with configurable javac and arguments (we want to see if diff...
I want to have a property with the current time in a specific format:
yyyyMMddhhmm .
how can I do that in java ant build.xml?
...
I'm using ant to compile my android projects into debug apks. But sometimes when running my app, objects are getting mixed up and showing up at the wrong places.
For example:
<TextView android:id="@+id/deviceText"
android:textSize="22sp"
android:textColor="@color/white"
style="@style/shadow"
android:layo...