ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Zander <zan...@planescape.com>
Subject Re: Excludes file problem !!
Date Mon, 01 Jul 2002 18:21:22 GMT
Yes, I tested some stuff myself.   The  listfiles="yes" variable in the
javac task shows all classes to be compiled.  It does not show any classes
in the excludes path, but some are compiled anyway. The nice thing is; not
all are :)
Seems to me like a bug.

Any core developers that can comment on this?

On Mon, Jul 01, 2002 at 11:20:32AM -0700, Das, Kuntal wrote:
> One more input on this problem : I tried doing the following javac command
> from the command-line, and it worked !! This command-line is exactly what I
> want to achieve thru, my build.xml.
> 
> C:\${build.dir}>javac -d . -classpath ./oui.jar
> ;.;./dmtcl.jar;./servlet.jar;./vbjapp.jar;./vbjorb.jar;./cos.jar
> com/schwab/dmt/
> views/wml/AccountWizdeck.java
> 
> C:\${build.dir}>

> 
> 
> -----Original Message-----
> From: Das, Kuntal [mailto:Kuntal.Das@schwab.com]
> Sent: Monday, July 01, 2002 11:02 AM
> To: 'Ant Users List'
> Subject: RE: Excludes file problem !!
> 
> 
> That was the first thing that I came to my mind too !! But it didn't work. I
> even removed the ${build.dir}, from the classpath(although that's not what I
> want ultimately), but I still got the same error !!
> 

> -----Original Message-----
> From: Thomas Zander [mailto:zander@planescape.com]
> Sent: Monday, July 01, 2002 10:54 AM
> To: Ant Users List
> Cc: Das, Kuntal
> Subject: Re: Excludes file problem !!
> 
> 
> On Mon, Jul 01, 2002 at 10:24:36AM -0700, Das, Kuntal wrote:
> > Hi all,
> > 	I'm trying not exclude directory structure being compiled, and
> > instead use a compiled jar file of that directory structure. Here's the
> > sample build.xml file which I'm trying to compile : 
> > 
> > <target name="build_wml" depends="testParam, init">
> > 	<javac srcdir="${build.dir}"
> > 		destdir="${build.dir}"
> > 	
> > classpath="${build.dir};${build.dir}/oui.jar;
> Turn these around so javac will find the jar (with the compiled classes)
> before
> it will find the .java files to put in the dependency graph which it will
> compile.
> 
> classpath="${build.dir}/oui.jar;${build.dir};
> 
> I think that should work.
> 
> You can try with a simple manual javac from the command line as well (after
> setting the correct CLASSPATH).
> 

-- 
Thomas Zander                                           zander@planescape.com
                                                 We are what we pretend to be

Mime
View raw message