IDP, pre-compiling jsp's
David Bantz
dabantz at alaska.edu
Fri Jul 11 19:03:48 EDT 2014
> java -version
On Fri, 11 Jul 2014, at 13:13 , Steven Carmody <steven_carmody at brown.edu> wrote:
> 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.
>
>
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://shibboleth.net/pipermail/users/attachments/20140711/43cfa567/attachment.bin
More information about the users
mailing list