|
|
|
I 'm knew to ANT and still in the process of trying to get up to speed on
everything including still reading through _Java Development With Ant_.
I have come into a job with an existing build infrasIt doesn 't appear that there 's an easy way to convert file separators from
'\ ' to '/ ' within an Ant apply task. Am I wrong about that?
The following invokes an executable compiled under Cygwin on WiHi
I 'm using a DOS batch file to run an ant build script when I run the build script on its own on the command line it works fine but when I run it via the batch file I get
BUILD FAILED
file C /TES
In my script I access VSS and at the beginning check out some files. At
the end of the script I check them in back. I want to catch all failure
situations and to make logical action (check those fileHi all
here is my problem I have a web-app which ci ontains servlets and cgi.
When I use ant to build the warfile to deploy the app i lose the 'x '
permission on my cgi.
Any idea on how I could kee
Hi
you might want to consider this blatant advertisement.
But maybe it is interesting for someone.
I 've started a new Tool named Jacson which is does
text filtering analysis and modification iI had the same question but wanting also size and lastUseDates. The
solution for me was to use <dir2xml > (see below) then a XSLT. It might be a
little heavy if you just want the file name. In this caHi
I was wondering if it is possible with the existing ant tasks to read the
files from a certain directory and write this list (only the filenames)
into a file (an existing one or a newly generaMy current project requires that I put together some functionality that will basically precompile all our JSP?s to the same state as what you would normally find in the work folder in Tomcat.
I?ve trI have created a jar file that include the ant class files a build.xml
file and my application class files.
I have not been able to get ant to find the build file within the jar
file. If I place is there any way to tell ant to display the project name before target name
in the output?
normally ant displays as follows (while running)
init
clean
build
but is there a way to make itI am using ant 1.5.1
I am using ejbjar. How does the dependency full attribute work? I can 't
seem to get it to include class files needed that are located in jars on the
classpath. We don 't use I have a buildfile that 's dynamically generates via XSLT. Within that
buildfile I make a java call one of the args passed into that java
call (via <jvmarg >) contains the property ${user.home}. On Hi everybody
I would like to replace two lines by only one line in a file for example
change a file "notes.txt " with the following contents
first line
second line
third line
fourth line
to the c
Hi
I found that Ant does not properly load classes sometimes. Here is one
of the script
<target name "deploy_ws " depends "deploy " >
<echo message "writing Axis at url ${url} wsdd ${wsdd} " After reading the chapter in Eriks and Steves book "Java Development with
Ant "
I had chosen CruiseControl. They have written their views of the pro?s and
con?s
to each continous-integration-tool so yDoes
http //ant-contrib.sourceforge.net/ant-contrib/manual/tasks/foreach.html
help?
<target name "HTML " depends "init " >
<echo >... </echo >
<foreach list "${devguide} ${xmleditor} " target "HTMNau Michael would like to recall the message "Best Practices & questions about integrating SCM Tools with Ant ".
--
To unsubscribe e-mail <mailto ant-user-unsubscribe@(protected) >
For addI 've been doing some research lately as to trying to come up with some
best practices for building components and applications.
In our current environment our components dependencies (name and
versioI have been assigned with setting up an integrated build process for all
of our software components. The idea being to build each component
working with the dependency tree in a top-to-bottom fashion.Looking through the archives I notice a few requests for the ability to
do one-to-many dependency checking.
Has anyone created a generic task for doing this?
If not I 'll look at modifying uptodate Hi
I 'm using antcalls to call a target heres the code I 'm using
<target name "HTML " depends "init " >
<echo message "Converting xml documents into html "/ >
<antcall targHi all
I have a question on LoadProperties/ExpandProperties.
This is a portion of my build.properties
classpath1 ...
classpath2 ...
classpath3 ${classpath1} ${classpath2}
When I use Hello all
I 'm having problems running a simple test program using the Java 1.4.1_01
implementation on Linux.
The small test program looks like this
//Test1.java
import org.omg.CosNaming.*
importHello
what I intend to do would look somewhat like this in ant
<mapper id "stripclass " type "glob " from "*.class " to "* "/ >
<fileset id "anID " dir "${somedir} " >
<include name "**/*Test.clasHi
Re Hi Can some tell me the Deployement steps for the
EJB on WebLogic6.1 using ANT
Expect to hear from you soon.
Thanks in advance
Uday Singh
--- Conor MacNeill <conor@(protected) >
wroI am trying to execute ant programmatically from a servlet running in
weblgic server(6.1sp4).
Everything works fine but stops with the following error.
When I run from command line it works great.
I the following task (only 1 java file)
<javac srcdir "${src}/api " optimize "on " classpathref "classpath "/ >
creates a .class file in the ${src}/api directory even though the java file has this statemI have a really simple Ant script (below) which appears to show the
<uptodate > task not working as documented. I 've tested this on both
unix and windows Ant 1.5.1. Can anyone reproduce it and/or tel
I am trying to use ant1.5.1 with jdk 1.3.1.
I am getting an error No such method error in String class.
The method is replaceAll(String str1 String str2)
Any feedback is appreciated.
-HP
--
T
| |