----- Original Message -----
From: "sato" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, May 01, 2002 1:07 AM
Subject: Re: I need help


> Thank you so much for your reply, Sujan.
> That was not "error" but "duplicate classes"
> what it says about when you run ANT is this.
>     [javac] /xxx/hoge/PROJECT F/packageName/updateMemberBean.java:16:
> duplicate clas
> s: PACKAGE A.updateMemberBean
>     [javac] public class updateMemberBean implements SessionBean {
>     [javac]
>
> It seems that ANT check out every PROJECT under /xxx/hoge directory
> when ANT compile PROJECTS which is on build.xml.
> I would think this is why "duplicate class" .
> In Project F we have same kinds of classes . that's why I do not want to
> compile PROJECT F
> even I get all PROJECTs I do not want to compile PROJECT F
>
> Thanks
>

> > Here is a build.xml source about compiling part:
> >   <target name="build_all">
> >     <ant dir="/xxx/hoge" antfile="projectA/build.xml"/>
> >     <ant dir="/xxx/hoge" antfile="projectB/build.xml"/>
> >     <ant dir="/xxx/hoge" antfile="projectC/build.xml"/>
> >     <ant dir="/xxx/hoge" antfile="projectD/build.xml"/>
> >     <ant dir="/xxx/hoge" antfile="projectE/build.xml"/>
> >   </target>
> >

you arent using the ant call right. You are starting the sub project build
files in your base directory, so it is pulling in projectF stuff

Use
   <ant dir="projectA"/>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to