How to get the current month number

2008-02-01 Thread Satheesh

Hi. This is the qmail-send program at apache.org.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

Thanks.
Satheesh.J


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Ant and Subversion

2008-02-01 Thread Steve Loughran

Antti Luoma wrote:

Hello,

I suggest you to take a look at CruiseControl. This can be easily done with
it.



We do something different @work: we have the cruise control build 
numbers tied to the SVN repository revision number. If build 6152 worked 
and build 6153 stopped, then it was transaction #6153 that broke it (or 
some change in the outside universe). We only tag when we cut a release 
itself


-steve

--
Steve Loughran  http://www.1060.org/blogxter/publish/5
Author: Ant in Action   http://antbook.org/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to get the current month number

2008-02-01 Thread Scot P. Floess

Checkout the  task...  You may be able to do it liek so:


 


Satheesh wrote:

Hi. This is the qmail-send program at apache.org.
I'm afraid I wasn't able to deliver your message to the following 
addresses.

This is a permanent error; I've given up. Sorry it didn't work out.

Thanks.
Satheesh.J


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros  http://sourceforge.net/projects/keros


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Setting up Maverick sshtools for Ant

2008-02-01 Thread Steve Loughran

serdsch wrote:

Hi everyone,

I try to set up Maverick j2ssh for Ant to remotely import DBs from a server
(sshexec allows only one command per session and therefore is useless for
me). 



the trick is to separate the commands with a semicolon:

rpm -qf ${rpm.install.dir}/signedLib/log4j-${log4j.version}.jar
"
outputProperty="rpm.queries.results"/>

where  is a presetdef defined operation

  


..here being used to verify that after uploading and installing various 
RPMs to the virtual linux machine, the code and directories are all 
correctly managed



  

  
  

  
  One of the directories/files in the RPM is not declared as being 
owned by any RPM.
  This file/directory will not be managed correctly, or have the 
correct permissions

  on a hardened linux.
  ${rpm.queries.results}


Worksforme, as they say :)

-steve



--
Steve Loughran  http://www.1060.org/blogxter/publish/5
Author: Ant in Action   http://antbook.org/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Setting up Maverick sshtools for Ant

2008-02-01 Thread serdsch

Hi everyone,

I try to set up Maverick j2ssh for Ant to remotely import DBs from a server
(sshexec allows only one command per session and therefore is useless for
me). My taskdef looks like this:



I have put my j2ssh directory with all its jars and lib folder (just as I
downloaded it from sourceforge)  in Ant's lib directory. When I try to
execute my build file, I get the following error:

taskdef A class needed by class com.sshtools.ant.Ssh cannot be found:
com/sshtools/j2ssh/session/PseudoTerminal

I have no idea what class Ant is looking for here and I couldn't find
anything via google.
Has anyone got an idea!? Or does somebody know another ssh task for Ant that
allows multiple commands?

Thx for any hints,

Sergio
-- 
View this message in context: 
http://www.nabble.com/Setting-up-Maverick-sshtools-for-Ant-tp15226543p15226543.html
Sent from the Ant - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Ant and Subversion

2008-02-01 Thread David Brown
Hello, the blog link works but the antbook.org does not go anywhere. I don't 
get anything from whois or dns. Please advise, David.

Steve Loughran wrote ..
> Antti Luoma wrote:
> > Hello,
> > 
> > I suggest you to take a look at CruiseControl. This can be easily done with
> > it.
> > 
> 
> We do something different @work: we have the cruise control build 
> numbers tied to the SVN repository revision number. If build 6152 worked 
> and build 6153 stopped, then it was transaction #6153 that broke it (or 
> some change in the outside universe). We only tag when we cut a release 
> itself
> 
> -steve
> 
> -- 
> Steve Loughran  http://www.1060.org/blogxter/publish/5
> Author: Ant in Action   http://antbook.org/
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Ant and Subversion

2008-02-01 Thread Steve Loughran

David Brown wrote:

Hello, the blog link works but the antbook.org does not go anywhere. I don't 
get anything from whois or dns. Please advise, David.


ooh. will check

(pause)

try now. I'm running confluence on a Xen linux VM image, and it seems to 
leak memory and then eventually halt. I should just switch to a static 
site instead...Java sites are too much high maintenance unless you are 
doing interesting things with them.


-steve

--
Steve Loughran  http://www.1060.org/blogxter/publish/5
Author: Ant in Action   http://antbook.org/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tutorial broken, need help resolving

2008-02-01 Thread Xavier Hanin
FYI, I've updated the build.xml pointed by the first tutorial, it should
work properly now, sorry for the inconvenience.

Xavier

On Jan 29, 2008 3:51 PM, Brown, Carlton <[EMAIL PROTECTED]>
wrote:

> Hi all, I'm getting errors running the tutorial listed here:
>
> http://ant.apache.org/ivy/history/latest-milestone/tutorial.html
> 
>
> which, per the instructions, "should not take more than 30 seconds if
> you already have ant and a jdk properly installed"
>
>
>
> The first error:
>
>
>
> :: [ commons-lang | commons-lang | 2.1 ]: configuration not public in [
> commons-lang | commons-lang | 2.1 ]: test. It was required from [
> commons-lang | commons-lang-caller | working ] test
>
>
>
> Reading through the build.xml and then the mailing list, I figured I
> should change ivy.install.version as such:
>
> 
>
>
>
> The next error:
>
>
>
> Getting:
> http://people.apache.org/~xavier/ivy/apache-ivy-2.0.0-beta1/ivy.jar
>
>  [get] To: H:\ivy-test\ivy-tutorial\ivy\ivy.jar
>
>  [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/~xavier/ivy/apache-ivy-2.0.0-beta1/ivy.jar
> 
> >
>
>
>
> Clearly, the URL to ivy.jar is a configurable property in the build.xml,
> so I guess my question is either:
>
> A) what's the URL to the latest stable ivy.jar, or
>
> B)  when will Xavier upload the latest stable ivy.jar to his apache
> home dir :-)
>
> C)  when will a working tutorial be published?
>
>
>
> TIA
>
>
>
>
> -
> 
> This message contains PRIVILEGED and CONFIDENTIAL
> information that is intended only for use by the
> named recipient. If you are not the named recipient,
> any disclosure, dissemination, or action based on
> the contents of this message is prohibited. In such
> case please notify us and destroy and delete all
> copies of this transmission.  Thank you.
> 




-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/


XMLtask trouble with

2008-02-01 Thread Zakir

Hi all.

I am using Ant 1.70 and XMLtask 1.15.1

This is my scenario: I have a simple bean definition file.  I need to run
ant tasks to inject beans into this file.  My bean definition file looks
something like:

http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:aop="http://www.springframework.or...>





Now, if I try and run an  task, with path="/beans", it isn't able to
locate the xpath and doesn't insert anything.  Now, if I remove all the
information from the  root tag, it works!  Is this some kind of bug
with XMLtask? 

Thanks!

-- 
View this message in context: 
http://www.nabble.com/XMLtask-trouble-with-%3Cinsert%3E-tp15236553p15236553.html
Sent from the Ant - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]