rmic problem when using ant

2006-05-29 Thread Barak Yaish
Hi all, I'm facing strange problem when I'm using the RMIC task. First, let me describe the relevant classes: Class A extends UnicastRemoteObject implements AInterface Interface AInterface implements Remote Class B extends A implements BInterface Interface BInterface extends AInterface The

Re: Problems Compiling Using Ant

2006-05-29 Thread Antoine Levy-Lambert
Hello Travis, the output of ant -diagnostics might be interesting, but it would be cool if you would also post the error message that you get with ant 1.6.5. Regards, Antoine Travis West wrote: > Recently, I moved computers, and in the process I upgraded ant from > 1.6.2 to >> 1.6.5. I copied a

Problems Compiling Using Ant

2006-05-29 Thread Travis West
Recently, I moved computers, and in the process I upgraded ant from 1.6.2 to 1.6.5. I copied a program over from my old computer onto my new computer, which also upgraded from Java 1.4 to 1.5. When I tried using ant to compile my project, it failed where it had previously compiled. I originally t

Re: Ant and eclipse project's classpath variable

2006-05-29 Thread Martin Gainty
Yes I would agree that having an IDE is *probably* a good first step especially for those just starting out..but once the build file is exportedI find incorporating multiple Builds, multiple jars, multiple deployments, with different jdbc connectors I would prefer to execute at command line

Re: Ant and eclipse project's classpath variable

2006-05-29 Thread Thiago Souza
Hi,        Actually there's a target that copies these jars to a lib dir prior to building. Of course the real build target does not depends on this preparation. It must be ran, inside eclipse, prior to building a release. Regards Martin Gainty wrote: I think I'm missing your po

Re: Ant and eclipse project's classpath variable

2006-05-29 Thread Martin Gainty
I think I'm missing your pointSince this is Ant user's list then we dont have an IDE or maybe we had one and we exported out the build.xmlIn any case what is your solution when you run outside Eclipse and run Ant (standalone) with your build file? Best Regards,M *

Re: Ant and eclipse project's classpath variable

2006-05-29 Thread Thiago Souza
Hi,        Thanks for your suggestion, but I'll use this ant4eclipse plugin... Martin Gainty wrote: Good Afternoon Thiago- Whenever I install a new package I always set the PACKAGE_HOME lets say there is a new package called Eclipse..After I install and configure I set an envi

Re: Ant and eclipse project's classpath variable

2006-05-29 Thread Thiago Souza
Hi,        Thanks for your reply, this plugin solves my needs. Gilbert Rebhan wrote: Hi, have a look @ http://ant4eclipse.sourceforge.net/ant-for-eclipse-home.html this might solve your needs ... bye4now, Gilbert We've started creating build files for our projects, but we've

Re: Ant and eclipse project's classpath variable

2006-05-29 Thread Gilbert Rebhan
Hi, have a look @ http://ant4eclipse.sourceforge.net/ant-for-eclipse-home.html this might solve your needs ... bye4now, Gilbert >We've started creating build files for our projects, but we've found a > problem. Most projects uses the eclipse "classpath container variable" (that > feature that

Re: Insert a file into another at given point (not necessary at the end)

2006-05-29 Thread Martin Gainty
David- I'm not clear what you mean by 'block' criteria If you could post the 'block' criteria then those of us on this list can take a look at developing a regexp which will accomplish the objective for you- Saludos, M- * This

Re: Ant and eclipse project's classpath variable

2006-05-29 Thread Martin Gainty
Good Afternoon Thiago- Whenever I install a new package I always set the PACKAGE_HOME lets say there is a new package called Eclipse..After I install and configure I set an environment variable to reflect base folder e.g. ECLIPSE _HOMEthen when I update the CLASSPATH to reflect the new Packa

Re: Insert a file into another at given point (not necessary at the end)

2006-05-29 Thread David
Dear Martin, I don't know if I can do it with ReplaceRegExp, I know this target, because I use it for situation. I need to find a correct way to match the middle of the file and to delimit each block. Thanks for your input, David >Have you looked at ReplaceRegExp Task f

Ant and eclipse project's classpath variable

2006-05-29 Thread Thiago Souza
Hi,        We've started creating build files for our projects, but we've found a problem. Most projects uses the eclipse "classpath container variable" (that feature that maintains the dependencies in a directory like entry). But then ant can't get these jars since only eclipse knows about th

subant and memory problems

2006-05-29 Thread Antoine Reilles
Hi, For building the examples of the tom project (http://tom.loria.fr), we use the subant task, each example containing a build.xml snippet, using Those examples do use the tom ant task to compile tom sources to java, and then javac. The tom ant task require to load the tom

Re: Insert a file into another at given point (not necessary at the end)

2006-05-29 Thread Martin Gainty
David- Have you looked at ReplaceRegExp Task from optional.jar..here is the doc http://ant.apache.org/manual/OptionalTasks/replaceregexp.html You would be able to replace match with replace for all instances where match condition is met replaces occurrences of the property name "OldProperty" w

Insert a file into another at given point (not necessary at the end)

2006-05-29 Thread David
Dear members, I know there is a task concat for inserting at the end of the file another file, but what about to insert something in the middle of another file, I cant define such place for example via regular expression, but I don't know if there is any task for doing that. Thanks,

FTP task

2006-05-29 Thread Meshram, Tushar
How to download empty folder structure from ftp.