Peter,

if you are going to be making changes, then I strongly recommend using 
the git approach I described below to make a new branch based on the 
2.9.0 tag. You may also need to perform the same procedure for GeoTools 
15.0 if you need to make changes to GeoTools (GeoServer 2.9.0 includes 
GeoTools 15.0).

Do you need exactly 2.9.0 or can you use a later build from the 2.9.x 
branch?

Kind regards,
Ben.

On 06/05/17 18:41, peter james wrote:
> Hi,
>
> Am trying to modify the geoserver 2.9.0 source code in our local system for
> some of the changes.
>
> On Fri, May 5, 2017 at 4:38 PM, Ben Caradoc-Davies <[email protected]> wrote:
>
>> Peter,
>>
>> why would you want to do this? You can get the same source with "git
>> checkout 2.9.0" (after fetching tags). What is the point of extracting the
>> source into a local git repository? All that will happen is that git will
>> complain that you now have a huge number of changes.
>>
>> Either download the source and build from source, or clone the repository,
>> checkout the tag, and build from source. Either will work. A mix of the two
>> makes no sense at all.
>>
>> What are you trying to do?
>>
>> Kind regards,
>> Ben.
>>
>>
>> On 05/05/17 20:31, peter james wrote:
>>
>>> If I download the source code manually and copy the extracted folder
>>> manually into the github repository/folder on local system,can i build the
>>> source code with maven? or Will I get any error.
>>>
>>> On Tue, May 2, 2017 at 4:06 PM, Ben Caradoc-Davies <[email protected]>
>>> wrote:
>>>
>>> Peter,
>>>>
>>>> this question belongs on the geoserver-devel list.
>>>>
>>>> While is is possible to download the source zip file for 2.9.0, a git
>>>> clone is much preferred if you are going to make changes.
>>>>
>>>> To make a new branch from the 2.9.0 tag:
>>>>
>>>> # clone the repository
>>>> git clone git://github.com/geoserver/geoserver.git
>>>>
>>>> # change into the newly cloned repository
>>>> cd geoserver
>>>>
>>>> # download all tags (as they are not cloned by default(?))
>>>> git fetch --tags
>>>>
>>>> # switch to the tag you want
>>>> git checkout 2.9.0
>>>>
>>>> # create a new branch (for example) "your-devel" from the tag
>>>> git checkout -b your-devel
>>>>
>>>> Now you can make changes on this new branch and use git to manage them.
>>>>
>>>> Note that the 2.9.x branch is no longer supported and this project
>>>> requires that pull request are first targeted at master, where new
>>>> development occurs. You will still be able to share your new branch in
>>>> your
>>>> own GitHub/BitBucket/... repositories. You can build from source and
>>>> import
>>>> into Eclipse using the procedure in the developer manual.
>>>>
>>>> Kind regards,
>>>> Ben.
>>>>
>>>> On 02/05/17 19:58, peter james wrote:
>>>>
>>>> Hi,
>>>>>
>>>>> If I try to run the below command in github,it will clone the latest
>>>>> geoserver version.
>>>>>
>>>>> *git clone git://github.com/geoserver/geoserver.git
>>>>> <http://github.com/geoserver/geoserver.git>*
>>>>>
>>>>> If I tried to clone the particular version 2.9.0(we need this version
>>>>> only)
>>>>> by running below command,whether it clone the zip file or extracted? If
>>>>> it
>>>>> clone the zip file of source code can we build this source code with
>>>>> Maven/can we modify the source code in eclipse?If it cannot run on zip
>>>>> file
>>>>> of source code then kindly give your instruction to run the same.
>>>>>
>>>>> *https://github.com/geoserver/geoserver/releases/tag/2.9.0
>>>>> <https://github.com/geoserver/geoserver/releases/tag/2.9.0>.*
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------
>>>>> ------------------
>>>>> Check out the vibrant tech community on one of the world's most
>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Geoserver-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>>
>>>>>
>>>>> --
>>>> Ben Caradoc-Davies <[email protected]>
>>>> Director
>>>> Transient Software Limited <http://transient.nz/>
>>>> New Zealand
>>>>
>>>>
>>>
>> --
>> Ben Caradoc-Davies <[email protected]>
>> Director
>> Transient Software Limited <http://transient.nz/>
>> New Zealand
>>
>

-- 
Ben Caradoc-Davies <[email protected]>
Director
Transient Software Limited <http://transient.nz/>
New Zealand

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to