Hi,
I am having this weird issue with Cruise Control crashing, when I add the vetoIfFailing attribute to the buildstatus element.
<cruisecontrol>
<project>
<modificationset>
<buildstatus>
This causes the entire machine to say stopped for all projects:
<buildstatus logdir="/mycruisedir/logs/myproject" vetoIfFailing="true"...
I'm having a bit of a problem building a Java Enterprise Edition web application on Mac OS X 10.6.2 using Ant 1.7.1, Glassfish v3 and Java EE 6.
The problem is that the build process does not find the Java EE libraries which fair enough as I don't think Apple supply them with the default Java installation but I know they exist in the Gl...
We are using Windows as development system and ANT to create the platform-specific bundles. For the Mac OS X specific bundle (.tar.gz file) we are using the tar task. I want to create a symbolic link in the output .tar.gz file which points to another file in the same .tar.gz file. Can this be done using ANT?
...
Hello,
I am trying to run a build script and I keep getting errors during a specific svn task. When I try to build the target from the command line, I get an authentication error. When I run the build from flex builder I get an error saying "please get a newer Subversion client". From what I can tell there is a root issue that can be se...
Hi All
I have just installed ant and JDK 6 and am trying to run an ant task. I get the following:
C:\Users\Giles Roadnight\workspace\Parsley\build>ant compile_spicelib_complete_flex
Buildfile: build.xml
compile_spicelib_complete_flex:
[exec] Error loading: C:\Program Files\Java\jdk1.6.0_17\jre\bin\server\jvm.dll
[exec] Result: 6
BUILD...
I use the Ant cvs and sql tasks to check out and deploy a full code set of database objects. I also use the Ant cvschangelog task to generate a list of what has changed between two tags. It seems that there should be some way of defining a target process that would iterate over the list of elements from the generated changelog xml fi...
I have downloaded and compiled the newest version of Rhino by going
ant compile
ant jar
When I run it like so I get the following error
java -jar js.jar
Rhino 1.7 release 2 2009 05 12
Exception in thread "main" java.lang.NullPointerException
at org.mozilla.javascript.Kit.classOrNull(Kit.java:92)
at org.mozilla...
I am trying to package a grails war inside a JEE ear. I have noticed that when I call grails war all the jars defined in the default dependencies are picked up and put into the WEB-INF/lib. But when I run the grails ant task to war the application, it picks up only the jars in the plugin folders.
I am using Grails 1.1.1. It seems to me t...
Hi, in Ant I want to execute a Java task on a fileset. I use the Java task to run rhino which runs a JS beautifier. The later works without any problems, except that it might seem little bit awkward to use rhino+js to acutally have a working JS beautifier/indenter. But all working JS beautifiers I have found are all written in JavaScript...
Hi, I have a bunch of .java files in a "src" folder that depend on three jars in a "lib" folder. I have the following build.xml file:
<?xml version="1.0"?>
<project name="MyProj" basedir=".">
<property name="src" value="src"/>
<property name="build" value="build"/>
<property name="lib" value="lib"/>
<path id="master-classpath"...
In trying to build a ant script for my Flex project i've come across a couple of properties that seem to be available by default such as ${DOCUMENTS} and ${PROJECT_FRAMEWORKS}. Does anybody know where these variables are defined and are there any more that maybe useful to me? Is there a list of variables that are created by default?
Th...
basically i am using ant to generate webservice client and server stubs. We don't change wsdl as frequently as our java code. But since wsdl2java generated code is always new, javac target always compiles code (too slow). Is there a way to tell wsdl2java task that gensrc is not modified so don't generate code ?
...
I read related question before submitting this question but wasn't able to find the exact question that has the same issue as mine.
I am trying to setup some automation on a windows box. I have ant target to do update and I have used eclipse as my java development editor. Windows box have svn client (TortoiseSVN) installed and I used ...
This is in a Windows XP environment.
I'm trying to install and edit some files that have default settings. I want to update these settings use items from ${env}
...
I'm using Jboss 4/5 and have some .war .properties files with default configuration settings
I want to update these settings using information from the windows xp environment variables.
${env} in ant
...
Hi all,
I'm doing a build script for a Java application to run inside the Oracle JVM. In order to import the 50-odd classes, it appears I need to bring them in in order so any dependencies are present before compilation.
For each class, I'm running 'create or replace and compile java source {className} as {classPath}' for each file. D...
Ant-Contrib is required for some parts of the build.xml so we first want to check if ant has the jar for it in its directory, and download and unpack it to the right directory if its not.
Any thoughts to this end is helpful
...
I pre-compile some jsp files through ant task of jspc,but it built failed.
errers:
info.jsp(35,2) The attribute prefix fn does not correspond to any imported tag library
info.jsp line 35 :
<c:if test="${fn:length(requestScope.checkDetailInfoList) gt 1}">
ant task xml:
<jasper validateXml="false" uriroot="${basedir}/WebRoot"
...
I'm working on a Mac. My dev server is linux. My directory is mounted over SSH using FUSE. How can I execute my ant script on the remote server within Eclipse? Right now I'm just switching to a terminal and running ant manually.
Please, no suggestions that I run the tests locally.
...
I've got a executable JAR file. And I've got an Ant build script that compiles and then creates this JAR file. I would like a task to run the JAR file as well, but I've got a command line argument that needs to be passed to the JAR. It's a configuration file. The run target is below
<target name="run">
<java jar="build/jar/ShoutGen....