On 08/30/2012 02:11 AM, ray ye wrote:
  Hi All,
       Created a build using source code from xwiki-platform 4.1.3 tag.
 The file name for oldcore is xwiki-platform-oldcore-4.1-SNAPSHOT.jar,
 and it still doesn't have compatibility sub folder in
 xwiki-platform-oldcore-4.1.3.jar.   Searching the whole source, we
 didn't even find " compatibility"
 If the official 4.1.3 build (downloadable from xwiki website) did use
 4.1.3 tag,  then we might have diffferet way in building it.
 We did the following to build xwiki-platform-oldcore,
 1. change to xwiki-platform-oldcore directory
 2. mvn clean install
 
Note that we usually ship xwiki-platform-legacy-oldcore instead of
xwiki-platform-oldcore in final products such as XE and XEM; the legacy
version includes the compatibility aspects, with all the deprecated,
legacy code.
  How the official build was built?
 Thanks a lot!
 Ray
 On Wed, Aug 29, 2012 at 2:18 PM, ray ye <ray.ye(a)ddaysoft.com> wrote:
> I was wrong on one thing.  I just found a tag in github called
> xwiki-platform-4.1.3.   I'll build from this source, and see if any
> different.
> BTW,  it's hard to find it in github website, i used command line git
> client to find tag xwiki-platform-4.1.3
>
> On Wed, Aug 29, 2012 at 2:00 PM, ray ye <ray.ye(a)ddaysoft.com> wrote:
>> i'm trying to create the official 4.1.3 stable build by building from
>> source code.  but couldn't find the correct source code revision for
>> official 4.1.3 stable
>>
>>
>> Source code location:  
https://github.com/xwiki/xwiki-platform
>> branch: stable-4.1.x
>> Actually, i was trying to find a branch or tag that contains
>> stable-4.1.3,  stable-4.1.x is the closest thing i can find in github
>>
>> The content of jar file are very different between what i built from
>> 4.1.x and what was distribued in
>> xwiki-enterprise-jetty-hsqldb-4.1.3.zip
>> For example:
>> the jar file name of oldcore is called
>> xwiki-platform-legacy-oldcore-4.1.3.jar in
>> xwiki-enterprise-jetty-hsqldb-4.1.3.zip, and it has compatibility sub
>> folder
>> the name is called xwiki-platform-oldcore-4.1-SNAPSHOT.jar, when
>> compiled from stable-4.1.x, and it does have  compatibility sub
>> folder.   this is just one of the differences
>>
>> Thank you very much
>>
>> Ray 
--
Sergiu Dumitriu
http://purl.org/net/sergiu/