ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ernst de Haan <ernst.deh...@nl.wanadoo.com>
Subject Re: What about a per directory javac compiler
Date Wed, 28 Jan 2004 08:30:07 GMT
Wouldn't it be a solution to copy all the files that should be in one 
package to a single directory (e.g. build/src/java/) and then do the 
regular operations on that directory?

Ernst

On woensdag 28 januari 2004 07:00, Antony Paul wrote:
> Hi all,
>     I need to compile files which are in different subdirectories but in
> same package. The particular javac task is to be used to compile the
> generated jsp files by a modified version of jspc task which puts all
> classes in org.apache.jsp package. This is a bug with Tomcat 4.1
> implementation if no servlet mappings are used.(It seems that different
> versions of jspc behaves differently in TC 4.1 series). This is not
> required with TC 5 which compiles all classes to proper packages. So I
> written a task which extends javac task. I failed to find a way to get
> the file list of a particular directory and not any subdirectories(I
> posted it here
> http://marc.theaimsgroup.com/?l=ant-user&m=107510801905653&w=2). So I
> found a work around to group files from the file list returned by
> getIncludedFiles().
>     Why there is no way to scan each directory. No tasks require this
> functionality ?.
>     Would any one like to add this functionality to javac or as a
> separate optional task. I have no web page to make it an external task.
>     I am new to Ant development.
>     Also in Ant 2 are all the tasks going to be re written ?.
>
> rgds
> Antony Paul
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org

-- 
Wanadoo Nederland BV, http://www.wanadoo.nl & http://www.euronet.nl
Ernst de Haan, Teamleader IS Tech Team
Muiderstraat 1, P.o. BOX 11095, 1001 GB Amsterdam
T:+31 (0)20 535 59 71, F:+31 (0)20 535 51 76
E-mail: ernst.dehaan@nl.wanadoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message