Re: AW: Passing a list of files to javac

2010-03-11 Thread Nan Null
I tried to help out by experimenting with the "src" sub element. In the sub element, I tried various settings. for example: However, I encounter error saying things like srcdir needs to be set, or .../MyJavaFile.java is not a directory. So, either I am not doing it right, or it's a bug

Re: Classpath with a path located on a distant server

2008-12-30 Thread Nan Null
Add to Martin's suggestion, if none of his solutions fits your case, then you can always look into class loader. A class loader can load classes from anywhere, so that will guarantee to work. If you define a task, here's a snippet I got off the net: On Tue, Dec 30, 2008 at 10:29 AM,

Re: svn tagging using Ant

2008-10-15 Thread Nan Null
The document for svn ant will tell you exactly how to do that. Give it a shot, and ask question later, specific exactly what problem you encounter. On Wed, Oct 15, 2008 at 12:55 AM, siba prasad <[EMAIL PROTECTED]> wrote: > > Hi , > > The requirement is as follows.I want to tag the code base.For w

Re: How to set an Ant task attribute with type of string array

2008-09-28 Thread Nan Null
There is an existing Ant task. I need to set the attribute extraClasses. Open the task's source code, it looks like this: public String[] getExtraClasses() public void setExtraClasses(String[] extraClasses) I didn't write the code, and prefer not modify this code even it's open source (because o

How to set an Ant task attribute with type of string array

2008-09-27 Thread Nan Null
There is an Ant task, where it has this method: public String[] getExtraClasses() public void setExtraClasses(String[] extraClasses) How do I set these extra classes? This doesn't work: - To unsubscribe, e-mail: [EMAIL PROT

Re: Optional classpath entry support for FTP task

2008-09-25 Thread Nan Null
I haven't found the solution to this, however, I pass the following to the ant command as a parameter -lib \commons-net-1.4.1.jar -lib \jakarta-oro-2.0.8.jar If you find your solution, please let me know. The problem I think is that ftp task was defined already in a parent classloader. If you d

Re: Include XML file

2008-09-25 Thread Nan Null
I think you have a communication problem. Here's how I understand your problem: you have a web application, with a webpage (written in JSP) that you can submit a .java source file. When a user submit the .java source file, you need to process the file using Ant. If that is the case, then you need

Re: Using property file to store a list

2008-09-19 Thread Nan Null
ingle line containing comma-delimited files, you > could filter that to an includesfile as well. The > good thing about includesfiles is that you can use > them to specify paths with whitespace; IIRC you can't > do that with ' includes attribute. > > HTH, > Matt > > ---

Re: Using property file to store a list

2008-09-19 Thread Nan Null
at 10:42 AM, Scot P. Floess <[EMAIL PROTECTED]> wrote: > > How about a macrodef with an optional element? Or something like that? > > On Fri, 19 Sep 2008, Nan Null wrote: > >> Hi, I need to provide a fileset in ANT that is customizable by the >> developers. To do tha

Using property file to store a list

2008-09-19 Thread Nan Null
Hi, I need to provide a fileset in ANT that is customizable by the developers. To do that, I am thinking of a customized property file for each developer to put in the list of files for the fileset. My question is how do I have this in the property file? I am thinking of a comma separated proper