IDP, pre-compiling jsp's
Steven Carmody
steven_carmody at brown.edu
Fri Jul 11 17:13:26 EDT 2014
On 7/11/14 4:47 PM, Cantor, Scott wrote:
> On 7/11/14, 4:43 PM, "Steven Carmody" <steven_carmody at brown.edu> wrote:
>
>> the msg "Syntax error, 'for each' statements are only available if
>> source level is 5.0" seems to say that I'm compiling with a jdk of 1.4
>> or older. That surprises me, since:
>
> Your JDK is irrelevant, the compiler level is a property of the compiler
> command, and it probably is set as a property on the Maven plugin you're
> using and must default to 1.4.
>
ahhh.. thank you !
However. looking in my local .m2 repository, I only see these files:
$ ls -al
/home/stc/.m2/repository/org/codehaus//mojo/jspc/jspc-maven-plugin/2.0-alpha-3/
jspc-maven-plugin-2.0-alpha-3.jar
jspc-maven-plugin-2.0-alpha-3.jar.sha1
jspc-maven-plugin-2.0-alpha-3.pom
jspc-maven-plugin-2.0-alpha-3.pom.sha1
_remote.repositories
I don't see anything in the pom file that looks like a java version
property. I exploded the jar file, and it contains properties files.
But, again, nothing that looks like a java version. Might it be embedded
in the java code for the plugin ?
Is there a better way to compile the JSP files, and see error msgs?
thanks for your patience.
More information about the users
mailing list