dev@glassfish.java.net

glassfish/bootstrap Changes for glassfish.root variable not to configure

From: Dinesh Patil <dinesh.patil_at_Sun.COM>
Date: Tue, 24 Jan 2006 18:29:47 -0800

>>> 5. It's downright brain dead (pardon my Japanese) to require an
>>> absolute pathname for "glassfish.root". In fact, I don't see why I
>>> even need to set it. Given that I checked out "glassfish/bootstrap",
>>> it should just put other modules to "glassfish/*" by default, and it
>>> should figure out the root directory all by itself.
>>
>>
>>
>> this is for generic solution, but we could have put the relative
>> paths, but we wanted to separate glassfish sources from redcvs:/m/jws
>> sources as 2 separate repositories need to be separated. So this can
>> be fixed.
>
>
>
> If the relative path was allowed, the default can be set to "../.."
> (or something like that), so that the first time user doesn't have to
> worry about it.
>
> Again, maven.xml can be used to determine the absolute path if necessary.

Following changes are been made to avoid configuration of glassfish.root
variable in ~/build.properties file. If you overwrite the value in
~/build.properties, that will work as usual, but now this variable,
glassfish.root don't need to be defined. (Refer to
https://glassfish.dev.java.net/public/BuildGlassFish.html)

> cvs diff project.properties
Index: project.properties
===================================================================
RCS file: /cvs/glassfish/bootstrap/project.properties,v
retrieving revision 1.111
diff -r1.111 project.properties
33c33
< glassfish.root=/home/${glassfish.cvs.username}/java.net
---
 > glassfish.root=${basedir}/../..
thanks
Dinesh