I have a plugin that executes a java class which passes a number of java args. This works fine on windows but the java class fails when running on linux with the following error.
EJBGen: File not found: "/OnePort/data/build/op/op/truck/target/ejbgen/temp/*EJB.java"
I tried to figure out what was going on by exeucuting maven with the -X flag.
[java] [VERBOSE] Executing '/OnePort/software/j2sdk1.4.2_02/jre/bin/java' with arguments:
'-classpath'
'/mnt/development/Develop..............................
.........................
.......................
.......................
'RemoteHome'
'-remoteSuffix'
'Remote'
'-templateDir'
'/OnePort/data/build/op/op/truck/../op/src/ejbgen/templates'
'/OnePort/data/build/op/op/truck/target/ejbgen/temp/*EJB.java'
I pasted all of the arguments into a single line and executed from command line outside of maven. Everything works fine. So somewhere along the line, the * is being passed litterally to the executable rather than being interpreted by the OS as a set of filenames to pass to the java executable.
Any ideas? Is this likely to be a maven or an ant problem?
thanks Nathan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
