First: please keep on the list (as long as you dont want to provide sensible
data ;)
Other people could be interesting in this problem (and its solution) too.
Second: this is more a CS related question than an Ant one but because I
just had
the same problem two weeks ago, I could provide th
Oh coo. I didn't see that anywhere in the docs...
>ld like to use the buildnumber task to
> > append a build number to the file name:
> >
> >
> > So my gzipped file would be something like: management_3.js
> >
> > I already have the task in my build file as:
> >
> >
> >
> > but that just saves
The BuildNumber task sets the property build.number when executed. You
don't have to do anything else.
On 7/30/07, Alex Egg <[EMAIL PROTECTED]> wrote:
> Hi have this gzip task, and I would like to use the buildnumber task to
> append a build number to the file name:
>
>
> So my gzipped file would
Hi have this gzip task, and I would like to use the buildnumber task to
append a build number to the file name:
So my gzipped file would be something like: management_3.js
I already have the task in my build file as:
but that just saves it to the build.number file, how do I get it to a
proper
It is a good point! Http task is one of the core conditions that can be used as
a nested element in condition task.
FYI: http://ant.apache.org/manual/CoreTasks/conditions.html
However I do not know why it is not listed in the manual as a core task :) May
be it is because of being a nested eleme
It helps, thx.
Do you think this will also handle both the cases where classpath is defined
in and
mytask.jar is in ANTHOME\lib or elsewhere?
if (this.getClass().getClassLoader() instanceof AntClassLoader){
AntClassLoader antClassLoader =
(AntClassLoader)this.getClass().get
Hi,
I'm using the concat task with a fileset that points to a bunch of files
with unicode byte order marks. After the task is complete I wind up with
file that's full for BOMs, which down the road, crashes a program that reads
this file.
Any good solution to deal with this? The BOMS?
The classpath attribute is not available to the created task.
In the task one can use MyTask.class.getClassLoader() to
get the classloader that loaded the task.
If this is of type AntClassloader, one can use AntClassloader.getClassPath()
to get the path used in the loader.
However there are a num
thx, at least now I know it's not possible :-)
--
Miroslav Šulc
Peter Reilly napsal(a):
I do not think that this is currently possible.
Peter
On 7/30/07, Miroslav Šulc <[EMAIL PROTECTED]> wrote:
Hi,
I am not very experienced with ant. I have several targets, each for
source code checks
I do not think that this is currently possible.
Peter
On 7/30/07, Miroslav Šulc <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am not very experienced with ant. I have several targets, each for
> source code checks. These targets are 'pmd', 'cpd' and 'checkstyle'. All
> the corresponding tasks support
Lets say I have a taskdef in the build.xml
How do I get the 'classpath' part in the custom task that derived from Ant
Task class?
Could you point me to the right API?
I want to use that classpath back with a 'java' task.
Thanks
Stan.
--
View this message in context:
http://www.nabble.co
Hi,
I am not very experienced with ant. I have several targets, each for
source code checks. These targets are 'pmd', 'cpd' and 'checkstyle'. All
the corresponding tasks support element. My project consists
of tens of subprojects. What I want to achieve is to define the set of
sources at one
Hi,
I think I'm having some problems with Ant and CVS.
I'm currently setting up CruiseControl and they told me that the
problem I'm having is an issue between Ant and CVS so this is why I'm
posting this here.
I'm using Ant 1.7.
Problem: CVS does not update correctly.
In the delegated build fil
You could probably define "if" and "unless" custom attributes in your macro
and then use with ant-contrib's to check them inside of your
macro.
Something like this (untested!):
... other attributes...
... do stuff
hey Jan,
Thanks for your replActually i am not able to find the CS-distro.zip
file so can you please tell me from where can i get it.
One me\ore thing when i am trying to run custom checkstyle rules xml file
called cs-rules.xml then the same script is giving me the error as unable to
c
Two things:
1.
Just to add for others reading, to make all URIs available you need to
add the following taskdef:
2. In the end the strings task didn't do what I thought it would. I'm
gonna try to explain again and hope someone may have an idea .
Hi,
I have cases where it would be useful to call a macrodef if a property
was set, but to skip it otherwise. If these were targets I could use the
standard Ant if/unless attributes to achieve this behaviour, but
macrodefs are called explicitly at certain points in the build file,
rather than usi
generates a xml based report.
This report should be converted to HTML by the
Does the file checkstyle.xsl exist in the directory where your build.xml
is ?
-Prashant
On Mon, 2007-07-30 at 02:20 -0700, Sameer Borwankar wrote:
> Hi all,
>
> I am trying to generate a report using checkstyle plugin with IBM RAD.
> I have written an ant script for the same as follows:
>
>
Hi all,
I am trying to generate a report using checkstyle plugin with IBM RAD.
I have written an ant script for the same as follows:
When i try to run this ant script the error which m getting is "system cannot
find the file checkstyle.xsl" so please help me rega
That sounds like exactly what I want ... but ... it's not working by me
This is the content of my ANT file ... am I missing something?
Hi,
I have some ANT scripts using the 'replaceregexp' task and these need to
run inside the Rational Application Developer v6 development tool.
Regurarly I have the following exception.
BUILD FAILED:
C:\TMMEDevelopment\WHE4841\J2EEConfig\whe4841\J2EE0116\src\S01\A2P\A2P_Gui\devBuild\build-qua
22 matches
Mail list logo