On 8/17/06, Robbie Minshall <[EMAIL PROTECTED]> wrote:
> 
> My current conclusion:
> Definately want to use a relative path or else this will obviously break
> builds left and right.  Using the ${basedir} looks like it will work
> nicely.  However, right now it seems that the javadoc plugin is not
> replacing backslashes with slashes.
> 
> I have put various configurations and the error below demonstrating this.
> It may be that I am doing something stupid here which would be great, or
> it
> > may be that the back slashes are not currently being replaced
> appropiately
> for platform independence.
> 
> thanks guys for taking the time to have a peek at this . . .
> 
> 
> * * * WHAT WORKS * * *
> * full path double back slashes
> <build>
>     <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
> 
> <overview>c:\\working\\tuscany07252006\\java\\samples\\sdo\\src\\main\\java\\overview.html</overview>
>         </configuration>
>        </plugin>
>     </plugins>
> 
> * full path forward slashes
> <build>
>     <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
> 
> <overview>c:/working/tuscany07252006/java/samples/sdo/src/main/java/overview.html</overview>
>         </configuration>
>        </plugin>
>     </plugins>
>   </build>
> 
> 
> * * * FULL PATH - SINGLE BACK SLASHES * * *
>   <build>
>     <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
> 
> <overview>c:\working\tuscany07252006\java\samples\sdo\src\main\java\overview.html</overview>
>         </configuration>
>        </plugin>
>     </plugins>
>   </build>
> 
> --> javadoc: error - Error while reading file c:working
> uscany07252006javasamplessdosrcmainjavaoverview.html
> 
> * * * RELATIVE PATH USING BASEDIR VARIABLE * * *
> <build>
>     <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>             <overview>${basedir}/src/main/java/overview.html</overview>
>         </configuration>
>        </plugin>
>     </plugins>
>   </build>
> 
> --> javadoc: error - Error while reading file C:working
> uscany07252006javasamplessdo/src/main/java/overview.html
> 
> Robbie John.

Good day to you, Robbie,

Curious, what maven-javadoc-plugin are you using? I'm using 2.1-SNAPSHOT and
I don't think I've encountered your problem.

Cheers,
Franz

-- 
View this message in context: 
http://www.nabble.com/using-javadoc-overview-and-maven-plugin-tf2110480.html#a5860779
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to