Build process
Description
Environment
Activity

codehaus April 10, 2015 at 4:50 PM
CodeHaus Comment From: cholmes - Time: Tue, 6 Apr 2004 08:07:07 -0500
---------------------
<p>Ok, I fixed the failure when checking out from cvs for the first time - I create a conf directory from the userBasic directory if one is not present. I like this solution a bit more because developers can then modify the conf directory that is right there. I also moved geoserver.war to the build/ directory, you're right, that's the correct place for it. I didn't move data/, but I agree it should go in build, it's just a temp file so not worth my time to hunt down all the references to make sure it goes away. If there's anything else you need to see that I missed just submit another bug, this feedback on the build process is good. </p>

codehaus April 10, 2015 at 4:50 PM
CodeHaus Comment From: cholmes - Time: Tue, 16 Mar 2004 03:24:14 -0600
---------------------
<p>Ok, first off, when replying directly to jira@codehaus.org you need to quote things with something other than > in email, it gets ignored. So David I have no idea what is supposed to be taken up with me. </p>
<p>As for the jai requirement - it's not really there. The one bug recently raised was a bug, before we handled it better, and I fixed it for the beta release. If no jai is there then there are not as many output formats (for the life of me I can't figure out why sometimes you get like 4 and sometimes you just get the svg one, I don't understand the java libraries). But there will always be svg available, and things should not mess up at all if jai is not installed. SVG doesn't do any styling yet, but gabriel may be working on that...</p>

codehaus April 10, 2015 at 4:50 PM
CodeHaus Comment From: dzwiers - Time: Mon, 15 Mar 2004 13:20:24 -0600
---------------------
<p>EXTERNAL MESSAGE:
SUBJECT: Re: <span class="error">[Geoserver-devel]</span> <span class="error">[jira]</span> Created: (<a href="https://jira.codehaus.org/browse/GEOS-121" title="Build process" class="issue-link" data-issue-key="GEOS-121"><del>GEOS-121</del></a>) Build process
jira@codehaus.org wrote:</p>
<p>Why bloat, most people use Eclipse which provides all of this internally
(and is free). Otherwise doesn't take too long to download (which should
only affect non-eclipse windows developers ... so a small portion of
you, think ant can be installed with redhat off the CDs ....).</p>
<p>uh, ok.</p>
<p>take this up with chris .... you share my sentiments here.</p>
<p>Not a big deal so far as I can tell, the script does run within the
project area ... and all these directories are CVS ignored ...</p>
<p>They are in the release directory, or in the external test spot (you can
set this).</p>

codehaus April 10, 2015 at 4:50 PM
CodeHaus Comment From: jgarnett - Time: Mon, 15 Mar 2004 13:12:23 -0600
---------------------
<p>EXTERNAL MESSAGE:
SUBJECT: Re: <span class="error">[jira]</span> Commented: (<a href="https://jira.codehaus.org/browse/GEOS-121" title="Build process" class="issue-link" data-issue-key="GEOS-121"><del>GEOS-121</del></a>) Build process
Chris Holmes wrote:</p>
<p>I worry more about the JAI installation requirement <img class="emoticon" src="https://jira.codehaus.org/images/icons/emoticons/sad.gif" height="16" width="16" align="absmiddle" alt="" border="0"/> Simply in terms
of putting off new users.
If remove the embeded tomcat (which I don't think works right now) we
will cut down on a lot of our cvs bulk. The war file will remain the
same size though.</p>
<p>Maybe we could put it to the list, I like the current war download +
quickstart guide.</p>
<p>Personally I always use the user conf. It is a rare day (like cite
tests) that I change to something different.
I imagine if I was actually using GeoServer (rather than just
developing) I would have my own conf directory I would wish to preserve.</p>
<p>Making a conf directory if one is not present is a good idea, the hard
part is to make clear to the new developer why they see the same
information duplicated in two places.</p>

codehaus April 10, 2015 at 4:50 PM
CodeHaus Comment From: brihaye - Time: Mon, 15 Mar 2004 06:37:37 -0600
---------------------
<p>>David, Jody? We had discussions about this - the decision was that
>someone working off of cvs isn't a 'newbie'. </p>
<p>Yes <img class="emoticon" src="https://jira.codehaus.org/images/icons/emoticons/smile.gif" height="16" width="16" align="absmiddle" alt="" border="0"/></p>
<p>1) The newbie just uses the war file</p>
<p>2) Then, he is interested (I suppose) and gets the souce code, either from a distro or from CVS. He would at this time try a build.</p>
<p>3) Then he customizes his build.</p>
<p>4) Then he studies the code.</p>
<p>5) Then he relies on CVS code</p>
<p>6) Then he participates.</p>
<p>Does this sequence makes sense to you ?</p>
<p>p.b. (level-5 newbie <img class="emoticon" src="https://jira.codehaus.org/images/icons/emoticons/wink.gif" height="16" width="16" align="absmiddle" alt="" border="0"/></p>
Currently, one needs Ant to be installed in order to build GeoServer.
The project could provide Ant librairies as well as bat/sh files.
Other point :
<!-- If you don't have your own conf directory uncomment on of the following -->
<!-- <property name="test.type" value="UserBasic"/> -->
<!<del><property name="test.type" value="CitePostGis"/></del>>
<!<del><property name="test.type" value="CiteShapeFiles"/></del>>
a) fix the typo <img class="emoticon" src="https://jira.codehaus.org/images/icons/emoticons/smile.gif" height="16" width="16" align="absmiddle" alt="" border="0"/>
b) set UserBasic as default (given that Ant properties are "write once", an external file could override this default value).
Other point :
The build process creates build, data, server and conf directories. OK, the last 3 ones are cleand if everything is OK but I would put everything in the build directory which should be the only one to get write access.
The output files geoserver.jar and geoserver.war should IMHO also be build in the build directory
p.b.