|
|
|
Just wondering if anyones found a decent fix for the silly parser
dependancies of the xjc task (com.sun.tools.xjc.XJCTask) which requires
manually setting ANT_OPTS to contain a special -Djava.endorsNot tested
<echo file "tmp " message "new text "/ >
<move file "theFile " tofile "tmp2 "/ >
<concat destfile "theFile " >
<filelist files "tmp tmp2 "/ >
</concat >
<delete >
<fileset dir ". " includes "Hi
I want to insert a line of text (with CR LF at end) to the start of an
existing file. There is no token to replace ... just a plain insert at
start.
I just can 't seem to find any simple way of dI 'm having trouble insrting CRLF via ReplaceRegExp.
It just seems to entirely ignore the "\n " in the substituion expression.
I 've tried prefixing with multiple back slashes but to no avail.
Using Ant Is there a way I can stop and start a tomcat instance using ANT?
Thanks.
In "Java development with Ant " by Erik Hatcher and Steve Loughran it says
excessive use to antcall is the wrong way to use ant. It has an example of
using the antcall task but I don 't quite understanHi
I 'm new to ANT. One thing I find difficult about ANT is tracing an ANT build
script. Our company has a very long (500 lines) ANT script for build and
deploy. However whenever I need to trace thrHi
I have all my ejbs under /ejb package and ejb class
may use other helper class in /ejb package too and
util class under /util or other I would like to
pacakge my ejb in the way one ejb per ja
>From Stefan Bodewig <bodewig@(protected) >
>Reply-To "Ant Users List " <user@(protected) >
>To user@(protected)
>Subject Re java with fork true produces IOException on
>UnixProcess.forHello
I have strange problems
* I 'm able to commit a module from comand line
* I 'm able to do the same things with ant 1.5.2 on command
line
* It doesn 't work with ant 1.4.1 from WSAD
* It work wiI wrote a little test
<project default "main " >
<target name "main " >
<tstamp/ >
<property name "date " value "${DSTAMP}_${TSTAMP} "/ >
<antcall target "copy " > <param name "whaHello
i 'm struggling with the following task and hope you have some hints and help
available.
I want to write a task that receive a file or directory and copy and rename
it.
e.g.
./file1.txt - > On Mon 31 Mar 2003 Joshua Rosenblatt <joshua.rosenblatt@(protected) >
wrote
> I have a problem with my build process.
What happens if you run
/sw/CRFS/java-std/THIRDPARTY_JDK/50_1_2/bin/solaris/jre/Hi guys
This should be an easy problem to fix I 'm just blind and cant see it.
When running ant install on the exact same code some of the programmers
can and some of them can 't. They get the followHi
I have something like the following in my build.xml
<target name "execute " depends "compile " description "execute the
app " >
<exec dir "${ojbhome} " executable "${javahome}/bin/java " >
Using AnthilPro 2.0.8.188 I have a build track that never completes- the
status never gets past "BUILDING - Labeling Build " and Catalina log keeps
getting the following repeated messages
475904455Right now our tech writers write documentation with Adobe Framemaker and manually build the PDF. Does anybody know how to with ant or any other tool for that matter automatically generate pdf 's froHello fellow ant users!
I started using jstl on my project a few months ago. Currently we have some
legacy jsps which dont use jstl and other 'newer ' ones which do.
My problem While my old non-jstlI 've got some tools that are wired into ant via separate adapter
classes (that implement Task). I 'd like to keep the tools such that
they 're not directly dependent on Ant classes but I 'd also like tThere certainly is a good reason but I will ask anyway. Why don 't we have a
custom subject tag in all emails sent to list. Something like [ant-user] in
the beginning of subject line would be perfectI 'm trying to update the manifest file on a dynamic set of jars and unsure how to make this happen.
During my build process I create a bunch of EJB jars in a directory called "jars ".
I know want tI have a problem with my build process. it ran fine on windows and I am now moving to solaris 8. I wrote a simple example to test it out.
I run the task
<project name "foo " default "all " >
<target ni am running a task i created. the target looks something like
<target name "doit " >
<taskdef name "doit " classname "some.package.DoitTask "
classpathref "task.classpath "/ >
<doit/ >
</target >
thOK! here are the steps
1. install the jsr14 beta and make sure it works with the makefile
provided by sun
2. rename the distributed 1.4.1 compiler from "javac " to "javac.orig "
3. copy the JSR1.4 ja Hey all!
I have a question for you. I have a number of source files that i wish to generate javadoc for. They contain a number of imports to third party jar files
example
import org.apache.I would like to do something like
ant -Ddefault compile
so that it calls my compile target as the default. This doesn 't seem to work. Any ideas how I can specify the target to call?
---
Outgoing mIt is (I think) a bug of ant.
I made a patch to get UnknownElement.java to set
the project on created children. I use this for
custom filters (and custom conditions and selectors).
The patch is partany way to pass the option flag -J to the <javac task in ANT?
It is needed to use the beta of JSR14 java generics as shown in the
below batch file for Unix that executes the new compiler.
exec ${J2Hi
I 'm passing <param name "somedir " value "${some.relative.directory} " >
parameter into a custom selector which is a subclass of BaseExtendSelector.
${some.relative.directory} is defined relative toHi
I 'm using Apache Ant version 1.5.1 and when I set JAVA_Home to use java 1.4
for compiling I 'm getting the following error output
BUILD FAILED
java.lang.IncompatibleClassChangeError
at
| |