Jeffrey,

I'm a little slow here. This thread started out with the issue of not being
able to exclude a file from a compilation. Has that issue been resolved?

Now, to the problem in this message, let me see if I can understand the
steps
1. You compile a set of classes which includes one inner class
2. You compile a second set of classes which use that inner class.
3. You say "The output (verbose) does not show the inner class being
loaded". I'm not sure what you mean by "loaded" here. Can you clarify,
please?

Can you just make sure I have understood the problem? Can you also please
send us the output of "ant -debug" when this problem occurs. If its big,
please zip it up and attach.

Let see what we can do to solve this?

Conor

----- Original Message -----
From: "Jeffrey Porter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 27, 2001 6:34 PM
Subject: Re: ANT 1.3 - JavaC - Exclude not working.


>
> I have two separate javac tasks, the first builds my API, the seconds my
> TestSuites.
>
> The inner class gets parsed & built in the first task.
> It is in the second task, the compilation of the testSuite in which is it
> needed.
> The output (verbose) does not show the inner class being loaded, it shows
other
> classes & inner classes. Just not this particular inner class.
>
> The strange thing is that if I let the build.xml script run & fail, then
I run
> the build.xml again it works. If I exclude the inner class & compile the
rest
> of the classes & then have another javac
> target (a third one) to compile the testSuite that has  a dependency on
the
> inner class, it still
> fails.
>
> I am really getting annoyed with this, if you could help it would be
great.
>
> JP.
>
>
>
>
>
>
> Jay Glanville wrote:
>
> > Just out of curiosity, do any other classes have a dependency on this
file?
> > Are there other classes in the same package that are being compiled?
In
> > other words, while ant may not be telling the compiler to compile this
one
> > specific file, the compiler my be trying to compile it due to
dependency
> > resolution.
> >
> > To confirm that ant is not including it in the compile list, use the
> > -verbose command line parameter and see if this file is in the list of
files
> > sent to the compiler.
> >
> > Jay
> >
> > -----Original Message-----
> > From: Jeffrey Porter [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, March 22, 2001 11:08 AM
> > To: [EMAIL PROTECTED]
> > Subject: ANT 1.3 - JavaC - Exclude not working.
> >
> > I'm tying to complie a bunch of source code and there is a dependancy
in
> >
> > the code.
> > All I want to do is to exclude the file.....
> >
> >     meta.con.ConnectionBeanFactoryTest.java
> >
> > >From the javac command. (so hence the compile error will not occur)
> >
> > I've tried both the following command and neither work.
> >
> > <exclude name="**/ConnectionBeanFactoryTest.java" />
> > &
> > excludes ="**/ConnectionBeanFactoryTest.java"
> >
> > Someone please help.
> >
> > JP.
> >
> > --
> > .........if in doubt, get a hammock
>
> --
> .........if in doubt, get a hammock
>
>
>

Reply via email to