sudo permissions with scp

2008-04-01 Thread mindspin311
I'm using scp to transfer a file to a server. I need to gain access of the user deploy in order to to this (sudo su deploy) Is there a way to do this inside the scp task? I currently had to ask a systems guy at my work to give me temp permissions to use deploy under my current name, but was wonder

Re: NetBeans target "run" to .bat file (solved)

2008-04-01 Thread Andrew n marshall
James Abley wrote: Why? You have a working ANT build file. Why can't you install ANT where required? Maybe you could provide a batch file that checks for the existence of ANT and installs it as required? Not to be facetious, but do you require ant for your project's distributions? Otherwise

Ant Pretty Build 3.2.0 released!

2008-04-01 Thread Charbel BITAR
Hi All, I'm pleased to announce the release of Ant Pretty Build 3.2.0! This is a major improvement in the 3.x series, that includes new features, bug fixes and enhancements. Ant Pretty Build is a tool to easily show and run Ant buildfiles in a browser window (Internet Explorer, Mozilla Firefox, .

RE: NetBeans target "run" to .bat file

2008-04-01 Thread Anderson, Rob (Global Trade)
To run an ant build file, you need ant. If the users are on your network, and have access to some of the same shared drives as you, then you could put ant on a shared drive and run it from a wrapper script (.bat) that sets up ANT_HOME, JAVA_HOME, etc. -Rob Anderson -Original Message- From

RE: ant sql doesn't recognize the database server name with back slash?

2008-04-01 Thread Chaohua Wang
Rob, Thank you very much. -Original Message- From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2008 12:54 PM To: Ant Users List; [EMAIL PROTECTED] Subject: RE: ant sql doesn't recognize the database server name with back slash? Try a forward slash...

Re: NetBeans target "run" to .bat file

2008-04-01 Thread James Abley
> > > Andrew n marshall wrote .. > > > > > >> This may be more of a general Java question than a specific Ant > > >> question, but here it goes > > >> > > >> I have a project that I built with NetBeans. NetBeans gave me a nice > > >> ant file that works great. But I need non-developers

RE: ant sql doesn't recognize the database server name with back slash?

2008-04-01 Thread Anderson, Rob (Global Trade)
Try a forward slash... 10.23.23.2/sql5t9 -Rob Anderson -Original Message- From: Chaohua Wang [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2008 8:26 AM To: Ant Users List; [EMAIL PROTECTED] Subject: ant sql doesn't recognize the database server name with back slash? Hi Folks, I

Problem with Javadoc task

2008-04-01 Thread Troy Bull
Greetings I am having trouble getting a project to build. I recently upgraded from ant 1.6.5 to 1.7.0 and someone told me there is some problem with the javadoc task in 1.7, is that true? Is there some work around or patch? I would hate to have to go back to 1.6.5. Thanks in advance troy

Re: issues with SQL task and the PRINT statement in external .sql files

2008-04-01 Thread Steve Loughran
Nathan Hattala wrote: Hello, So I have been banging my head against a wall it seems because I have been trying to automate the database build and deployment process for our software. The goal I have is using ANT and the sql task, to execute an existing .sql file that was developed and placed

Re: how to find the drive name from a file fath ?

2008-04-01 Thread Matt Benson
--- "Md. Jahidul Hasan" <[EMAIL PROTECTED]> wrote: > Is there any task to find the drive name from a > given file/directory path > ? "dirname" task can't help in this regards as it > takes the full path > until that filename. I only need that drive name. Ant 1.7.0, untested:

RE: Need to find current directory (not entire path)

2008-04-01 Thread Matt Benson
Ant 1.7.0 introduced resource collections including and : With svn trunk/Ant 1.7.1 (beta will probably be released soon), you can wrap tokens with : HTH, Matt --- Francis Brennan <[EMAIL PROTECTED]> wrote: > There is a propertyregex task in ant-contrib that > you can use to ext