|
|
|
Hello
I 've looked at the Ant task documentation and I don 't see a way of
providing any of the ant options like -quiet -debug or -logger. If
it 's possible does anyone have any suggestions?
Tha
Is there a way to use ant to run a java program or any program for that
matter that reads user input from the console?
Jim
Hi
I just started using the <junit > task with <junitreport > which is
great. In my very first unit test which simply asserted something
which I knew to be true everything worked perfectly.
HowTry the echoproperties task to find out what all the properties are set
to. That should show you
any that are case sensitive.
Karr David wrote
>Actually I was mistaken on one point here. I 'm fiA couple days ago I presented a problem I was having with using
<taskdef > to load up a task class with dependencies on a package
not part of the system classpath.
Further investigation (reading the sHi
in some of the latest messages anthill and cruisecontrol where mentioned.
I had a (short) look at both webpages and cant figure out where the
differences are. Can anybody give me a short hint plI have a situation with an ant script that is called from a java class
(apparently) which is called from a DOS "cmd " script. I can tell
exactly what the cmd script is doing but it executes a jar fiHi
what is your standard method to init clean and remove directories (build
dist ...).
Do you always remove/delete them and then create them new in the init-task
or do you accept them to be thereThe replace task of the following target causes a failed build.
Without the replace task the build.xml works fine.
<target name "copy_replace " depends "_init " >
<copy todir "${dir.templates} " overI am trying to commit a single file from within my build script but I
get an error. The part of the script looks like this
<cvs cvsroot "${cvs.root} "
passfile "${cvs.passfile} "
command "commit I don?t understand your question.
This snippet is from on of mine buildfiles
<?xml version "1.0 " encoding "ISO-8859-1 "? >
<!DOCTYPE project [
<!ENTITY ant-commons SYSTEM "file ./build-common.xmHmm seems as attachments do not get through to the list.
Guess I could have read it somewhere but there are so many
lists ...
Here is the source as textual inclusion
package de.spieleck.helper
If the xml parser should do the job (here you are using
xml entity) the path has to be hardcoded because no other
program is running which can resolve variables.
The <import > task is in the CVS hea
i would like to know the following 3 things
1)when i run my build.xml file by using ant -v command i see this error in my konsole ??
[java] 'com.ora.ITS.SDK.Tools.ConsoleDistribBuilder '
[jaHi !
is there a way to avoid the hardcoded path in
<!DOCTYPE project [
<!ENTITY builddefs SYSTEM "file ../../build/builddefs.xml " >
] >
I was hoping that this was using a resolver that could find myHi !
is there another way to use XSLT transformation while using a stylesheet
inside the XML files to transform when having the
xsi noNamespaceSchemaLocation "foo.xsd " specified in the XML file andI am creating a component driven build process that uses xml files as the component definitions. I am
currently using Filesets to find the exact location of each component xml file.
The problem is tI have one other question (where I am uncertain of the "best practice ").
Following along in "Java Development with Ant " in the context of
using JUnit for unit testing.
It is recommended to keep I 'm using ant to compile my project I really like it a lot. I 'm
learning to use ant from "Java Development with Ant " it 's a great book.
I notice that it gets mentioned here often so I was wondwhat are reasonable options for emailing nightly Build results?
MailLogger seems to have no way to attach the build log
or use properties in Subject
also I am already using NoBannerLogger - which ltry <replaceregexp flags "g " ... >
Jan Mat?rne
-----Urspr?ngliche Nachricht-----
Von Lee Michael.M [mailto Michael.M.Lee@(protected)]
Gesendet am Dienstag 4. M?rz 2003 15 51
An 'Ant Users LiAttached find my personal solution to bugzilla #6266.
It is almost trivial but very helpful in my setting.
Maybe someone can build that into the mainstream of the
zip task. I cannot see any special rHello~ all.
I have an urgent question to ask..
I 'm trying to use replaceregexp command to replace tabs with single spaces.
However when I run the code on the bottom it does not do a thing even
> If your goal is to get the same build whether you 're in
> Eclipse or not it 's easier to do it the other way around
> because Eclipse already knows how to use Ant.
But then you are loosing all thI 'm a total newbie in XML ant and eclipse
I guess I was a little unclear about what I would like to
do so I 'll try and explain it again.
I would like ant to compile Java code written in Eclipse
evYou have started this thread on jGuru
(http //www.jguru.com/forums/view.jsp?EID 1060681).
Because I don?t want do answer on that forum AND on this list where should
we go?
For next step make two taHi all.
I have a file antPropterty.xml that I want to include
to my build.xml file.
I tired this
<!DOCTYPE project [
<!ENTITY include SYSTEM "\dir_1\dir_2\antProperties.xml " >
] >
<project naThe ant distribution is written in java.
Maybe some third-party tasks depend on native code (executing/forking
a native program access via JNI ...). But that should be written
in their documentatioHi
Has anyone already used ant calls through JSP pages ?
Indeed I want to be able to call ant scripts from my web admin console I
can modify the JSP pages to achieve it but does anyone have advicHi
OK I 've ordered Java Development with Ant book but until it arrives I wanted your opinion. Here 's the question.
I create a base jar which will be used for deployment on different App servers so
| |