On Tue, 25 May 2004, Maksimenko Alexander wrote:

> But unfortunately I can't do this because my source files are in 
> different directories
> If I specify common parent directory:
> 
>     <ojbdoclet destdir="${dir.javalike}" checks="basic">
>         <fileset dir="..">
>             <include name="server/src/java/**/*"/>
>             <include name="shared/src/java/**/*"/>
>         </fileset>
>         <ojbrepository destinationFile="repository_types.xml"/>
>     </ojbdoclet>
> XDoclet want find any file.

Mhm, this does look like an Ant problem, not a XDoclet problem (as
XDoclet simply uses the Ant facilities here). Have you tried this very
fileset with a different task, say copy ?
Also, I'm not sure whether the 'fileset dir=".."' will work. Try prefixing
the includes, e.g.:

   <ojbdoclet destdir="${dir.javalike}" checks="basic">
       <fileset>
           <include name="../server/src/java/**/*"/>
           <include name="../shared/src/java/**/*"/>
       </fileset>
       <ojbrepository destinationFile="repository_types.xml"/>
   </ojbdoclet>

You may also want to specify the root directory of your source in the
dir attribute of the fileset (instead of using '..').

Tom


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

Reply via email to