  | | | Ant | Hi
I 'm using Ant 1.6 and cannot get the mail task to work at all. I keep
getting the error in the subject. I 've made sure that the JavaMail jars are
in my classpath. What am I doing wrong?
> From Colin Sampaleanu [mailto colinml1@(protected)]
>
> Can anybody point out a way to get at the base directory of the build
> file?
I wrote something up about this in the Wiki in the 1.6 new Colin Sampaleanu <colinml1@(protected) > writes
> When you import another build file via the new 1.6 import task
> special properties
> ant.file. <name >
> ant.version. <name >
> and so on areHi!
I 've written a small custom filterreader that does the following job
Working with CruiseControl and Ant cruise passes in a property
called label that can be used in the cvs task to label I 'm just taking a look at Ant 1.6 and I 'm having a problem with a build file that works fine in 1.5.3.
java -version gives 1.3.1
ant -version gives 1.6
The only changes to the standard installaI had the same problem some time ago and the only solution I found is to name your properties in old DOS Convention (8.3 Files).
so your property has to look something like this
<property naI 'm confused by the use of the compiler and target attributes for the javac task. I 'm running ant using java 1.4.1 but need to compile my classes to run under java 1.2.2. Do I only have to use the coHi
I use Ant with Eclipse but I have a problem on the Eclipse when I want to load my build.xml file. I have this error
"BUILD FAILED java.lang.NoSuchMethodError org.apache.xerces.xni.parseOn Tue 30 Dec 2003 Stephen Chalkley <Stephen.Chalkley@(protected) >
wrote
> So I add a 'compilerarg ' line to my rmic step in my build.xml as
> follows
Sounds right to me. Maybe Ant is putting tSimple rmi question am I missing something ?
<!-- Builds the remote stubs -- >
<target name "rmic " >
<rmic
base "classes "
classname "com.pts.generic.framework.remote.EVServiceBaseImI 'm new to the mailing list but not new to Ant. Is there a way to
document targets within a build.xml file such that they can be extracted
out later much like JavaDocs? Basically I 'd like to docuI have a set of Tasks all requiring access to the very same class instance
(a db connection in practice). How can I implement that with ANT?
So far I have tried to implement this behaviour via aIs there a way to redirect a console logger to a file and at the same
time leave it on conlose output? Can two loggers be added?
Roman
Hi all
I want to replace in a file "#project " by "project " but not in the whole
file. Only from the begining to the string "# end part1 ". Is that possible
to do it with the task replace or repSee the xmltask at...
http //www.oopsconsultancy.com/software/xmltask.html
The recent announcement of version 1.9 on this list had an example of
exactly what you are looking for. Look it up in Hi
I am using Ant together with jboss and its working fine except for one thing
1. I use ant to compile files to a classes catalog.
2. A standard jar files is created containing most of the fWe have one XML file from which I would like to generate multiple JSPs
during the build process. For example from the following XML
<stuff >
<thing >Thing1 </thing >
<thing >Thing2 </thiI can 't find the optional jar for versino 1.6.0. I try to use the sshexec
and scp task but It can 't find the class file. The manul said that you need
the optional.jar in the lib folder. But where caI am trying to run a few java processes in forked JVM 's. The following is where I try to execute the process
<echo message "Starting testbed node1 " / >
<java fork "true " classpath "${sl.classp
Hi
My project contains both C++ code and Java code and I am curious if there
are any Ant tasks to invoke a C++ compiler?
The C++ code is all Windows system calls collecting hardware informHi
I want to pass a -J option to an Ant rmic step but can 't get any format to be accepted.
In an windows .bat file I can run the following with a -J option.
rmic -v1.2 -J-oss4m -classpath .For some reason I can 't get the affect the failonerror attribute for the JSPC task. The appropriate ant scrip segment is
<target name "compile_jsps " depends "clean init ccupdate " >
<echo > Hi
On Windows when using ant against a JRE (not a JDK) I get the following
message even in quiet mode
Unable to locate tools.jar. Expected to find it in
<my-jre-path >\lib\tools.jar
Then[OFF - TOPIC] FAO Release Managers
Can anyone recommend software to simpy record web submitted release notes to
a DB (developer name project files to release & bug id) then query with
web inI 'm currently migrating from ANT 1.5.4 to ANT 1.6. However whenever I try to run the JUnit task I 'm encountering a "VerifyError ". More specifically
[junit] java.lang.VerifyError (class o
Hi !
I am having weird request. I would like to pass a parameter to specific
task. How can I do that?
I tried to create <property > and then redefine it later so that target can
use it but Hi Guys
I have a white space character in my source directory name. This is
causing problems for my javac task.
Here is the relevant build file snippet
<project name "dmslite " default "hehttp //ant.apache.org/manual/api/index.html
gives me a whole lot of 404s.
is the API online anywhere???
--
dIon Gillard Multitask Consulting
Blog http //blogs.codehaus.org/people/dion/How can i set the verbose mode in java and javac ant tasks?
--
sir
>
> Happy new year
>
> I am using ant init for initilasation of tables.but
> ant shows the Segmentation fault as
> jakarta-ant-1.4.1/bin/ant line 134 1945
> segmenatation
> fault $JA |
|
 |