velo / maven-annotation-plugin

Automatically exported from code.google.com/p/maven-annotation-plugin
0 stars 0 forks source link

system dependent path separator character #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The plugin does not work on Linux. The error message is:
"error: Annotation processor 'xxx.Yyy' not found"

The error is caused by the path separator character, which is not ";" on 
Linux.

In AnnotationProcessorMojo.java, the line:
> result.append( pathElements.get(i) ).append(';');
must be replaced by:
> result.append( pathElements.get(i) ).append( File.pathSeparatorChar );

Original issue reported on code.google.com by pa.avo...@gmail.com on 12 Mar 2009 at 4:00

GoogleCodeExporter commented 9 years ago
The plugin used a harcoded ';' separator for its classpath.
This separator only works on Windows, and this is now changed
to use File.pathSeparator.

Original comment by robert.munteanu on 19 Oct 2009 at 2:24

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by bartolom...@gmail.com on 8 Nov 2009 at 2:01

GoogleCodeExporter commented 9 years ago
thanks for feedback

your patch applied

Original comment by bartolom...@gmail.com on 8 Nov 2009 at 2:03