Dear,
I try to validate (only the lenient testing) all our struts configs and ant
responds : "Could not validate document"
Meanwhile, I can validate the document in various XML tools (Cooktop, IE,
Firefox).
Encoding is OK.
Same problem if I define the ...
I also try various locations for the pu
I have the follwoing issue.
The scp task confiured as such :
Fail and gives this :
/data/Projects/test/performance/build.xml:101: 'todir' and 'file' attributes
must have syntax like the following: user:[EMAIL PROTECTED]:/path
at org.apache.tools.ant.taskdefs.optional.
That's fine Jan...
The issue is that I have to have it running on cruisecontrol with app. 50
other projects.
Hence, changing the ANT_OPTS is for instance doable but I have to call ANT
from my main ANT-file or I have to ask for changes to the guy in charge to
change some options.. and bottom
yes but
_ In cruisecontrol it is run as a Service --> ${user.home}/.ant/lib is not a
viable option
_ -lib could be usable ... I have to check
the easiest would be to be able to set up a classpath, thought.
The funny thing is that it is for me easier to add my own task than calling
the Opt
I have the recurrent problem with Cruisecontrol.
The admins have block the addition of any file (jars) to the ${ANT_HOME}/lib
directory
I do not know how I can add JDepend to my classpath ... ?
- The task needs an external JAR file to execute
and this is not found at the right place
How can I add the jsch (sshexec & scp) library without putting them into the
${ANT_HOME}/lib ... ?
It is OK on my local machine but I'd need the JSCH library on CruiseControle
too and there I
cannot add it to the shared environment for compatibility (obvious) reasons :(
\T,
--- [EMAIL PROTECTED
When I create a task, the 'verbosity' level of the log is a bit weird IMHO.
Namely, I find it weird that the fact that I set the switch '-v' when I run the
ant task is not
kick up the verbosity level of the task. I would have found it nice that '-v'
would have made all
log statement in DEBUG mo
Hoo ho ...
I never know what these SYSTEM or PUBLIC stuff meant and did not dare to change
that.
'will try
\T,
--- Gisbert Amm <[EMAIL PROTECTED]> wrote:
> Sorry for the double post, I had problems with my mailclient or IMAP
> server or whatever.
>
> Gisbert
>
> Gisbert Amm wrote:
> > I gues
When I define only the following constructor :
/**
*
*/
public MyTask() {
log("Test");
}
The trace I have is the following :
BUILD FAILED
C:\MyProject\spike\SpecialLibraries\XLtoCSV\SpecialBuild.xml:21: Could not
create type
XL
The reason seem to be (but I haven't been able to confirm as I have been busy
in other matters)
that the Task has a default constructor (that I use). To use the 'log()'
method, I'd need to
invoke a constructor with the node name I want to use.
Smthg like :
class MyTask extends Task
{
public
I have an XML document generated which declares the following DOCTYPE :
http://cobertura.sourceforge.net/xml/coverage-02.dtd";>
The XSLT parser complains that it cannot connect to the site (consitent with
the PROXY
authentication requested).
So the question is :
How do I define the
So if I understand well...
The "answer" to my problem is still available but might not be in the future...
Also, looking at
http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java
http://ant.apache.org/manual/CoreTasks/typedef.html
http://ant.apache.org/
Chris,
The CC does not use the ANT shipped with it (CC).
The problem is the fact that ANT has an old version of 'a' library while I need
a newer one
Unless I missed a point in your answer ... ?
\T,
--- "Erskine, Chris" <[EMAIL PROTECTED]> wrote:
> Rather than using ant within CC, use the ants
Dear,
The ant used by Cruisecontrole has a few library installed in the
${ANT_HOME}/lib
There is a library that is of a very old version while I'd need a more recent
version of the task.
My project file defines its own path for ALL the targets it uses but ANT uses
the library in its
${ANT_HOM
There is an SSH task ... Mor einformation, here :
http://www.jcraft.com/jsch/
\T,
--- Ramnish Kalsi <[EMAIL PROTECTED]> wrote:
> Hi, I am working on a project to automate a build system, and the flow is
> somewhat like this:
>
> 1. ssh into a unix machine.
> 2. Sync the repositor
OK
so checking there is a "0" (zero) in the hours would be an good option for what
I need.
Tx,
\T,
--- Ninju Bohra <[EMAIL PROTECTED]> wrote:
> One way is to use the task with a custom pattern to contain only the
> hour (in 24hour
> format). Then using the task (from the ant-contrib proje
Tx but ...
The question was send to the ANT-ML to implement is via ANT... :)
\T,
--- "J. David Boyd" <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> writes:
>
> > Running the stats on our code is a rather lenghty process (currently +/-70
> > minutes)... I therefore consider to run the target
Running the stats on our code is a rather lenghty process (currently +/-70
minutes)...
I therefore consider to run the targets only at night.
Would someone have an hint on how to evaluate the current time and set a flag
if it is between say
: 10 PM and 6:00 AM ?
Tx,
\T,
--
Any fool can write
I have the following problem :
In JSP's people have copy-pasted declaration where the code included "<%!"
instead of "<%".
The first declaration generates member variables instead of method scope. As I
believe there is a
number of relevant cases, I want to ensure that the build fails if the
de
Is there a way to write soemthing like this ?
cd /home/${usr}/src/${application-module};
tar cf stuff.tar.gz ./jython/Util.py ./jython/Common*.py
./jython/Parameters.py ./jython/Main.py
./jython/Constants.py
or even better :
cd /home/${usr}/src/${application-module};
tar cf stu
I would like to copy many files from a remote server to my localhost.
I wondered if the following sytnax could be used :
Otherwise I will have to do as many SCP's
OK
I will clean this up tonight and confirm it works.
Tx already
\T,
--- Peter Reilly <[EMAIL PROTECTED]> wrote:
> It should be
>
>
> The nested element is actually a path class and hence the
> misleading message.
>
> Peter
>
> Conor MacNeill wrote:
>
> >I can't see anything amiss in
Dear,
I have the following part of a build file :
But when I run it, I get :
The type doesn't support the "dir" attribute.
\T,
Any fool can write code that a computer can understand.
Good
Tx Ivan for the work around ...
It is however a bit frustrating to have a neat tool and then to have to mess
about to do smthg
trivial. Especially that one can remove the ResultSet columns header with a
simple switch ...
\T,
--- Ivan Ivanov <[EMAIL PROTECTED]> wrote:
> Hello,
>
> --- [EMAIL
I would like to generate data files with the SQL-task which runs perfectly like
this :
My only problem is that the ouptu is as follows :
9002
9003
9005
9006
9000
9001
0 rows affected
How can I remove the last line... indicating the nbr of lines impacted ... ?
Tia,
\T,
A
Basically and bottom line ...
W2$ has command line limitations that forbids (so far) to generate the javadocs
for big projects :
1200 files
So I have to generate the javadoc bit by bit...
\T,
--- [EMAIL PROTECTED] wrote:
> And having something like :
>
> casesensitiv
And having something like :
gives :
BUILD FAILED
...\src\build-javadocs.xml:155: No source files and no packages have been
specified
Am I missing something or is there something broken ... ?
\T,
--- [EMAIL PROT
For javadocs it seems to be a bit of a pain ... !
Fails with :
src\build-javadocs.xml:147: Javadoc failed: java.io.IOException: CreateProcess
...
Having :
Fails with:
src\build-javadoc
I thought I could have had something like this :
Any idea on how to combine them ...?
\T,
Any fool can write code that a computer can understand.
Good programmers write code that humans can understand.
At first look ...
Zip has no destdir but a destfile
http://ant.apache.org/manual/CoreTypes/zipfileset.html
Can you also provide the specs of the environment (OS & fs if relevant, JDK,
ANT) as it seem file
on my machine ... ?
\T,
--- Kevin Duffey <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> I
30 matches
Mail list logo