A project for GUI input ?
Hello, Somebody announced here a project that provides a kind of 'input' tasks but with graphical interface. Can you remember me the name and the URL of that project ? Thank you in advance. Regards -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Ant, and user input in Java
Hi, I'm using ant to compile and then run a Java application which takes user input from the command line via System.in. In my build.xml file: classpath="${basedir}/installer/*.class" fork="true"/> However, it appears that ant is holding onto System.in, so when my application attempts to read from it, ant is providing it with null objects. I've chatted to a couple of people about this and they've said that this is a known problem, and that there is a workaround... but I've hit the web and browsed this mailing list, and I've found no obvious mention of anything related to this (other than other people saying "I'm getting NullPointerExceptions"). So, does anyone have any ideas about workarounds for this particular issue, or am I stuck? On a related issue, if I don't specify fork in the above command (thus running the java app in the same VM), ant complains that it can't find the class, and that I should make sure it's in the classpath. I've not found anyone who can work out why that is, either - I'm pretty sure I've done something wrong, but I've no idea what. Thanks in advance for any help, -Jon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: A project for GUI input ?
It was the antigen project on sourceforge http://antigen.sourceforge.net/ --- Yves Martin <[EMAIL PROTECTED]> wrote: > >Hello, > > Somebody announced here a project that provides a > kind of 'input' tasks but > with graphical interface. > > Can you remember me the name and the URL of that > project ? Thank you in > advance. > > Regards > -- > Yves Martin > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to convert commas into spaces
Hey Guys (and gals), I have this property with a comma delimited list of values (file names) and I need to create another property (let's call it sql.file.names.spaced) with the same set of text but with the commas replaced with spaces. Any regex experts out there... or any other ANT way of doing it Thanx, Ninju __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
AW: How to convert commas into spaces
AntContrib: propertyregexp match: ',' replace:' ' flags: g Jan > -Ursprüngliche Nachricht- > Von: Ninju Bohra [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 9. Februar 2005 16:35 > An: Ant Users Group > Betreff: How to convert commas into spaces > > Hey Guys (and gals), > > I have this property with a comma delimited list of values > (file names) > > value="base.sql,application.sql,report.sql,auxiliary.sql"/> > > and I need to create another property (let's call it > sql.file.names.spaced) with the same set of text but with the > commas replaced with spaces. > > Any regex experts out there... or any other ANT way of doing it > > Thanx, > > Ninju > > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com >
Re: AW: How can I set last modified date in html files using ant?
[EMAIL PROTECTED] wrote: Hhmm - not easy ... 1) "iterate" over a fileset 2) check the date for each time 3) modify the files content hmm - maybe (pseudo code): 01: 02: 03: 04: 05: importClass(Package.java.io.File); 06: f = new File("@{file}"); 07: project.setProperty("date", f.lastModDate() ); 08: 09: 10: 11: Hey! I never knew you can instantiate any class in Ant! Can you please supply a url explaining
Re: AW: How to convert commas into spaces
It works... I never doubted your skill [EMAIL PROTECTED] regardless of what -nat says [EMAIL PROTECTED] wrote:AntContrib: propertyregexp match: ',' replace: ' ' flags: g Jan > -Ursprüngliche Nachricht- > Von: Ninju Bohra [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 9. Februar 2005 16:35 > An: Ant Users Group > Betreff: How to convert commas into spaces > > Hey Guys (and gals), > > I have this property with a comma delimited list of values > (file names) > > > value="base.sql,application.sql,report.sql,auxiliary.sql"/> > > and I need to create another property (let's call it > sql.file.names.spaced) with the same set of text but with the > commas replaced with spaces. > > Any regex experts out there... or any other ANT way of doing it > > Thanx, > > Ninju > > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > - Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more.
how to call "ant -projecthelp" from ant target
Hi, I'd like to define a (default) ant target that calls "ant -projecthelp" to list the targets & descriptions in my project. I'm having trouble doing this. Can anyone provide the solution? Many Thanks! - Michael
RE: how to call "ant -projecthelp" from ant target
-Original Message- From: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 3:04 PM To: user@ant.apache.org Subject: how to call "ant -projecthelp" from ant target Hi, I'd like to define a (default) ant target that calls "ant -projecthelp" to list the targets & descriptions in my project. I'm having trouble doing this. Can anyone provide the solution? Many Thanks! - Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to call "ant -projecthelp" from ant target
> -Original Message- > From: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] > I'd like to define a (default) ant target that calls "ant -projecthelp" to > list the targets & descriptions in my project. Now you can do just -p. --DD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to call "ant -projecthelp" from ant target
Thanks, that worked like a charm! :-) "Murray, Mike" <[EMAIL PROTECTED]> wrote: -Original Message- From: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 3:04 PM To: user@ant.apache.org Subject: how to call "ant -projecthelp" from ant target Hi, I'd like to define a (default) ant target that calls "ant -projecthelp" to list the targets & descriptions in my project. I'm having trouble doing this. Can anyone provide the solution? Many Thanks! - Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]