users@jsp.java.net

Re: Using jsp project artifacts

From: Rajiv Mordani <rajiv.mordani_at_sun.com>
Date: Tue, 10 Jun 2008 16:12:57 -0700

Hi Jan,
    I did reply to this earlier but am restarting this thread. See
comments in-line -

Jan Bartel wrote:
> Hello,
>
> We're currently using glassfish's jsp-api and jsp impl by checking
> out the srcs from cvs and building them ourselves as part of the
> jetty build process.
>
> Ideally, we'd like to be able to use api and impl artifacts published
> by this project to a maven2 repository. I don't think these are currently
> available on an m2 repo, are they? Is there a roadmap to when they will
> be published?
>

The jars are in the maven repo. Kin-man can you provide the necessary
artifact id etc to Jan.

> We've done a first pass at building the jars ourselves from the project's
> src, but ran into a coulple of issues. I'll list them here for discussion
> by the dev team:
>
> - The jsp-api-2.1 jar dependency in the pom does not incorporate the changes
> to javax.el.ExpressionFactory that is present in the glassfish sources,
> resulting in a compilation error on javax.el.ExpressionFactory.newInstance().
>


This should be fixed. Can you please file issues for these?

> - The generated jar doesn't seem to include the property files, which results
> in runtime errors eg
> org/apache/japser/resources/messages.properties is missing.
>

Same as above.

> - dependency eclipse-jdtcore-2.1.0 needs to be updated to 3.1.0 (or higher)
> to compile successfully if JDTJavaCompiler needs is included in the compilation.
>

Please file issues.

> - the packages: com/sun/appserv, com/sun/common/*, com/sun/el/* and
> com/sun/org/apache/commons/logging/* need to be on the classpath at runtime - is
> this a dependency that can be removed to make the jsp module more generic?
>
> We'd be pleased to provide more details on any of these topics if it helps.
>

That would be great. If you have any contributions that you would like
to make as well please let me know.

Thanks

- Rajiv

> thanks,
> Jan
>