ant

Is it possible to nest folders in the Flash Builder bin-debug

I'm trying to setup my bin-debug folder so that the structure looks like this: bin-debug assets img swf main.swf css style.css js swfobject.js index.html I've tried setting the project's output folder to: bin-debug/assets/swf which does get my main.swf where I want it, but then my other source folders get dumped into that s...

ant conditions problem

I have problem with ant. I woul dlike to use conditions in ant. But i get error of: BUILD FAILED C:\Projekti\Projekt ANT\build.xml:412: Problem: failed to create task or type Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrode...

Add file in ANT build (Tomcat server)

Hey everyone, I have an ANT build that I need to setup so on deployment of the .war a certain file will be placed in a specific location. Currently my ant builds the war as follows... <target name="war" depends="jar"> <war destfile="${deploy}/file.war" webxml="${web-inf}/web.xml"> <fileset dir="${WebRoot}"> <...

try finally in ant

Hi, In my ant script, which runs the end-to-end integration tests, I first start a process, then do some other stuff, then run the tests, and then I need to make sure I kill the process. However, I need to make sure I kill the process even if something fails (so I need an equivalent to try finally). What is the recommended way of doing ...

Making an ANT Macro more reusable

I have a simple macro (simplified version below). At the moment it assumes that there will be a single value for a single argument, however there might be multiple values for that argument. How can I pass in 0+ values for that argument so that the macro is usable in situations where I need to pass in 0+ values for that argument, not just...

How do you use ant to unjar multiple JAR files and rebuild them into one JAR file?

I would like to unjar multiple JAR files and then rebuild into one JAR using an ant build script. Is this possible? ...

How to override ant task stored in ant lib directory

At my work we use AspectJ in some of our Java projects. To get this to work with ant builds we have been placing aspectjtools.jar within ant/lib/. I am now working on a particular Java project and need to use a newer version of aspectJ. I don't want to have to get everyone who uses the project to update their local copy of aspectjtools....

ant scp task through a proxy

I am trying to make an ant build file to remote copy a war file. Ant scp task uses a jsch library for remote copying. How do I make it work through a proxy, the jsch library clearly supports it. does not work for jsch. Jsch does not read environment variables like http_proxy is there another solution ? ...

Find workspace location using ANT

I'm working on a build script in the Flash Builder version of Eclipse. This build script needs to import launch configuration .launch files into the user's workspace. However there doesn't seem to be an available ANT var for determining the workspace location. While stepping through the available vars with intellisense I noticed that ${o...

Java code to convert a list of dependencies into a build order?

Given I have a list of dependencies available as bits in external files. These will be aggregated into a list like: module1 module2 dependsOn module1 module3 dependsOn module1 module4 dependsOn module3 I would like to create a build order where each build step is found on one line, and each line contains a list of one or more modules ...

ant deploy to jar file

is it possible with ant deploy to jar file not to server? i have server.deploy which i must deploy to jar file. Is it possible? this is content of server.deploy file <?xml version = '1.0' encoding = 'UTF-8'?> <simple-archive-deployment nselem="simple-archive-deployment" class="oracle.jdeveloper.deploy.jar.ArchiveProfile" xmlns="http://...

File Enumeration with ANT

I feel like I'm missing something obvious at the moment. I want to collect a set of dirs / files together in ANT. I know I can do it using a fileset with an optional patternset inside it, but that involves searching for files based a specific criterior - filetype, name etc. I already know the paths to the files I want to collect. I have...

MsBuild never end

<Target Name="RunWebServer"> <Exec Command='$(WebServer) /port:3811 /path:$(Path)' /> </Target> command is actually this command: "C:\Program Files (x86)\Common Files\microsoft shared\DevServer\9.0"\WebDev.WebServer /port:3811 /path:"D:\PROJEKTI\eMedicine\eMedicine\eMedicine" but when i start build.xml D:\PROJEKTI\eMedicine...

How can I include data text files with ant in a jar file?

In my src folder there is another folder called data which contains data1.txt and data2.txt. The application loads a graph from these files in the initialization so I want to include these files in my final jar. I use ant to produce the jar file. ...

Teamcity - Build Number - Pass into ant script

I want to pass the build number from Teamcity into an ant script as a parameter. Does anyone know the exact syntax for doing this? ...

Is there a decent HTML Junit report plugin for Maven?

I find the surefire-report plug-in very unsuitable to my working style. I clean the project all the time and I don't want to spend 5 min to rebuild the whole site every time I want to look at the test report in my browser. If I type mvn surefire-report:report-only, the generated report is too ugly and barely readable. What I'm looking fo...

How to enable option "Generate deploy code in build" through Ant in WID

Hi does any one knows any ant task by which we can enable/set the "Generate deploy code in build" option , which is present under Project menu in WID (WebSphere Integration Developer) ...

Change properties in pom.xml at runtime with Maven Ant Tasks. Is it Possible?

I have the following use case: My application is started with an Ant Script, which asks the user several questions about the project configuration (database settings etc.). These settings are stored in a properties-file. Then i want to run Maven from within my Ant script by Maven Ant Tasks, which should replace the pre-defined properti...

Best Practices for Project Feature Sub-Modules with Mecurial and Eclipse?

I have a couple of ANT projects for several different clients; the directory structure I have for my projects looks like this: L___standard_workspace L___.hg L___validation_commons-sub-proj <- JS Library/Module | L___java | | L___jar | L___old_stuff | L___src | | L___css | | L___js ...

Add compiler flags to the standard android build.xml

I want to add -Xlint:deprecated to the java compiler while building android app. I've seen the compilerarg tag inside javac tags, but the generated build.xml for the standard project doesn't have such a tag. Any hint? ...