|
|
|
I 'm doing some mods to two of the ant source classes and I 'm following
the guidelines from the ant docs about running tests under junit and
creating new tests.
I 'm new to junit today actually and Just as a teaser here 's how I do it
<junitx ... >
<classpath refid "classpath " / >
...
<syspropertyset >
<propertyref prefix "testall. " / >
<propertyref prefix "
Hi
I am seeing something unexpected happen during my build process and I am not
sure
why. Below are the 2 ways I have tried of building this target and neither
works
as I require. What I require isI finally decided that Appendix E that shipped with the ANT docs was very
useful BUT terrible in its current format. I couldn 't find anything without
clicking pages. For my use I am putting bookmarI am writing a custom task in which I get the value of a variable by some
processing say dir foo/bar.
I want to use this value in my ant script in subsequent processing. I
tried setting the dir valuAll
Does anyone know how to check out files from Perfoce from build.xml?
Thanks
Stacy
Is there something in ant that I can use to create separate log files? I want the current behavior of the
default logger but I also want to leave specific info in different directories.
Dave
Hi
I know how to pass command line parameters into ANT using the -D option.
But how can I pick up these parameters from within a JUnit test script
Started from within ANT.
Regards
Steve
Hello
I feel rather embarassed to be asking what I would expect to be a trivial question but I can 't seem to figure out how to create a file dependency. There is an external jar file that neHello all
Just wondering if something like this ( see below ) exists with the latest released verison of Ant ( 1.5.1 ).
Is it possible to check for a property .. and if it 's true then run a certa
I am looking to do something like the following
some.property ${ ${NestedVar}.suffix }
where if ${NestedVar} is set to the value foo and ${foo.suffix} is set to
the value bar then some.properHi !
did anybody find a way to get back / simulate the CCase winkin
functionality (access one or more derived objects from a dynamic view)
when integrating with ant ?
thanx.
seb.
I 've seen lots of automated integration build tools out there
(Centipede Anthill Gump CruiseControl Maven) but I haven 't seen
very many (any at all actually) tools for promoting web applicationsAll
I 've compiled some source files using Ant and diff them from the one that
was build under JBuilder7. The one that was build in JBuilder7 created two
extra classes someName$$3.class someOtherHI
I tried to implement ant in our project but because of some cyclic
dependency i could not do so.
Is there any solution on how to tackle cyclic dependency through ant
without making any code chaHello
I am trying to modify a properties file by updating a property value with
the function replaceregexp but I get the error message "No supported
regular expression matcher found ".
Here is a samHello !
does anbody know if there is a clean way (or standard rules ?) to avoid
implicit javac compilation for external java packages ?
for instance class a in package A imports class b in pakckage BNow well off topic ...
I believe other mail-filtering systems leave the control in the hands of the receiver quarantining mail until the user looks at a report and approves it.
The main gripe I hadHi J?rg
Thanks for your comment. I 'll go ahead and submit a minor patch for
inclusion in the ant script. I knew the check wasn 't difficult (cygpath was
only doing the same simple check) -- I was mMany ant targets e.g. javac are designed so that they will
find the source files by pattern matching or whatever. But
I notice that some of the "optional " targets I am interested
in e.g. jjtree Hello
I 'm confused with a conditional include behaviour
in FileSet.
What would be result of
<fileset dir "${basedir} >
<include "subdir/*.java " if "some.property "/ >
</fileset >
if some.propertThere were some discussions on Ant-Dev Maillinglist about InputHandler.
"You know that a Swing or AWT InputHandler and the <input > task could do the
same? "
http //marc.theaimsgroup.com/?l ant-dev&m 1I got this error
Calling Ant runner with
Ant build file C \Smartmail\build.xml
Buildfile C \Smartmail\build.xml
PVCS Version Manager (VMGUI) v6.5.00 (Build 536) for Windows NT/80x86
Copyright
Hi
I have written a custom Ant task that calls a client written in Swing
that simply opens a window and requsts input from a few drop down
boxes. I then use the Project get/set methods so set up
prYep. That idea is good
<project name "javac-test " default "compile " >
<taskdef resource "net/sf/antcontrib/antcontrib.properties "/ >
<property name "src.dir " value ". " / >
<property name Hi Doug
just modify the script to convert CLASSPATH only to UNIX if it contains a semicolon or a backslash. This will eliminate the problem. After running cygpath --unix we will not have any of thesHi
I would like to be able to compile all java-
files in a certain directory stucture and
have them outputted to a destination dir.
This in itself is very staightforward as
long as _all_ java-files ASAIK there are plans (ideas? wishes?) on the Dev-List for realizing
a async-option (or task) for <java > <exec > and <apply >.
But I?m not sure - especially when it will be done.
Jan Mat?rne
-----UI would use property files
<property value "which " value "dev " / >
<!-- values dev stage prod -- >
<property file "${which}.properties " / >
If your third instruction is
<property file "default.pIt took me several hours to be able to use the task jspC in Ant all of
that because the documentation is so poor about it.
On the surface when you read it it seems deceptively simple
copy/paste th
| |