Problem validating struts-config.xml

2006-05-23 Thread duvelbier-tsmets
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

SCP probleme

2006-01-18 Thread duvelbier-tsmets
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.

Re: AW: AW: JDepend task

2005-12-23 Thread duvelbier-tsmets
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

Re: AW: JDepend task

2005-12-23 Thread duvelbier-tsmets
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

JDepend task

2005-12-23 Thread duvelbier-tsmets
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

Re: AW: Problems with optional tasks

2005-11-06 Thread duvelbier-tsmets
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

More default behavior expected

2005-10-17 Thread duvelbier-tsmets
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

Re: XSLT

2005-10-17 Thread duvelbier-tsmets
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

Re: invoking the logger in the constructor

2005-10-17 Thread duvelbier-tsmets
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

Re: invoking the logger in the constructor

2005-10-16 Thread duvelbier-tsmets
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

XSLT

2005-10-16 Thread duvelbier-tsmets
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

RE: Classpath issue

2005-10-09 Thread duvelbier-tsmets
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/

RE: Classpath issue

2005-10-06 Thread duvelbier-tsmets
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

Classpath issue

2005-10-06 Thread duvelbier-tsmets
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

Re: ssh advice

2005-09-18 Thread duvelbier-tsmets
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

Re: Running a task between this hour and this hour

2005-09-15 Thread duvelbier-tsmets
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

Re: Running a task between this hour and this hour

2005-09-15 Thread duvelbier-tsmets
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 a task between this hour and this hour

2005-09-13 Thread duvelbier-tsmets
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

Finding string in JSP-files

2005-09-12 Thread duvelbier-tsmets
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

RE: Scp : Definition of a remote file set

2005-08-12 Thread duvelbier-tsmets
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

Scp : Definition of a remote file set

2005-08-11 Thread duvelbier-tsmets
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

Re: Path does not support dir-structure

2005-08-10 Thread duvelbier-tsmets
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

Path does not support dir-structure

2005-08-09 Thread duvelbier-tsmets
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

Re: Output of SQL-task

2005-05-02 Thread duvelbier-tsmets
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

Output of SQL-task

2005-05-02 Thread duvelbier-tsmets
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

Re: AW: How to combine multiple file sets ?

2005-04-26 Thread duvelbier-tsmets
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

Re: AW: How to combine multiple file sets ?

2005-04-25 Thread duvelbier-tsmets
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

Re: AW: How to combine multiple file sets ?

2005-04-25 Thread duvelbier-tsmets
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

How to combine multiple file sets ?

2005-04-25 Thread duvelbier-tsmets
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.

Re: problem with zipfileset and fileset storing directories with xml files in them

2005-03-13 Thread duvelbier-tsmets
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