dev@glassfish.java.net

Re: failure building v2

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Wed, 27 May 2009 11:23:25 -0700

On 05/27/09 11:15 AM, Justin Lee wrote:
> I think I found it! The default VM on this machine I'm working on
> while mine is being repaired is a 1.6 VM. In 1.6 the DataSource API
> broke backwards compat. I've switched it to use a 1.5 VM and I'm
> trying again.

Yes, you need to build with a JDK with a version less than 1.6.

> That explains part of the problem but not why it couldn't find those
> files.

Right, that remains a mystery. I just tried this myself, and it worked
for me
(but that doesn't help you, of course).

Jan

> I had to track them down from a maven2 repo and copy them in to my
> maven1 repo...
>
> On 5/27/09 2:05 PM, Justin Lee wrote:
>> That's exactly what i'm trying to do and i get these erroes...
>>
>> On 5/27/09 12:52 PM, Jan Luehe wrote:
>>> On 05/27/09 09:40 AM, Justin Lee wrote:
>>>> If I run bootstrap-all instead I get this:
>>>>
>>>> BUILD FAILED
>>>> File......
>>>> /export/home/justin/dev/glassfish/v2/glassfish/bootstrap/maven.xml
>>>> Element... ant:ant
>>>> Line...... 109
>>>> Column.... 51
>>>> Warning: Could not find file
>>>> /export/home/justin/dev/glassfish/v2/glassfish_dependencies/com.sun.jsftemplating/jars/jsftemplating-1.2-SAILFIN.jar
>>>> to copy.
>>>>
>>>
>>> This is how I normally build:
>>>
>>> % mkdir gf-v2.1
>>> % cd gf-v2.1
>>> % cvs co -r SJSAS91_FCS_BRANCH glassfish/bootstrap
>>> % cd glassfish/bootstrap
>>> [Edit project.properties and change glassfish.os.name and
>>> glassfish.cvs.username as appropriate]
>>> % maven checkout bootstrap-all build configure-runtime
>>>
>>> Let me know if you still have any problems.
>>>
>>>
>>> Jan
>>>
>>>>
>>>> On 5/27/09 9:31 AM, Justin Lee wrote:
>>>>> I get this following the build instructions on the v2 site:
>>>>>
>>>>> BUILD FAILED
>>>>> File......
>>>>> /export/home/justin/dev/glassfish/v2/glassfish/bootstrap/maven.xml
>>>>> Element... maven:reactor
>>>>> Line...... 264
>>>>> Column.... 40
>>>>> Unable to obtain goal [build-pe] --
>>>>> /export/home/justin/dev/glassfish/v2/glassfish/bootstrap/../../glassfish/bootstrap/maven.xml:651:28:
>>>>> <fail> No message
>>>>> Total time: 7 minutes 0 seconds
>>>>>
>>>>>
>>>>> Has anyone seen that one? This is my first time trying to build
>>>>> v2 and I've tried a number of different approaches but they all
>>>>> end up with that error.
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>