dev@glassfish.java.net

Re: [v3] New build failure...

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Tue, 22 Jul 2008 10:34:57 -0700

Sahoo,

It's mvn -U, right?

If I understand it correctly, build system is forcing us to do
an mvn -U (go get the latest plugins from maven repo.s) for one
dependency. This may be an unfortunate outcome of maven based
builds, but don't you think it's going to take time (like Amy says).

Also, deleting a particular folder in ~/.m2 for a particular
SNAPSHOT dependency (like Shing Wai suggests) -- you have to
only "know" it or remember it. Is this because of dependence on
SNAPSHOTs?

-Kedar

Sahoo wrote:
> Kedar,
>
> I guess you did not run "mvn -u," did you? Every time you refresh your
> workspace, you must run "mvn -u." See [1].
>
> Thanks,
> Sahoo
>
> [1]
> http://www.nabble.com/-GFv3--Using-outdated-SNAPSHOTs-causing-build-issues-tt18453775.html#a18453775
>
>
> Kedar Mhaswade wrote:
>> 0- Don't delete ~/.m2
>> 1- Checkout v3 and hk2 source *afresh* on the trunk.
>> 2- v3 build fails:
>>
>> /Users/kedar/Work/V3/v3/v3/web/web-glue/src/main/java/com/sun/enterprise/web/WebContainer.java:443:
>> cannot find symbol
>> symbol : method setDtdResourcePrefix(java.lang.String)
>> location: class org.apache.jasper.xmlparser.ParserUtils
>> ParserUtils.setDtdResourcePrefix(dtds.toURL().toString());
>> ^
>> /Users/kedar/Work/V3/v3/v3/web/web-glue/src/main/java/com/sun/enterprise/web/WebContainer.java:444:
>> cannot find symbol
>> symbol : method setEntityResolver(org.xml.sax.EntityResolver)
>> location: class org.apache.jasper.xmlparser.ParserUtils
>>
>> ParserUtils.setEntityResolver(_serverContext.getDefaultHabitat().getComponent(EntityResolver.class,
>> "web"));
>> ^
>> Note: Some input files use or override a deprecated API.
>> Note: Recompile with -Xlint:deprecation for details.
>> Note: Some input files use unchecked or unsafe operations.
>> Note: Recompile with -Xlint:unchecked for details.
>> 2 errors
>>
>>
>> What did I do wrong?
>>
>> -Kedar
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>