Now I understand, the build (and/or post build) steps are differenet
somehow, which caused the minor differences in the final builds.
We plan to develop based on the latest statbel verison(4.1.3 as of
now) of one specific module -- xwiki-platform-oldcore.
The first thing we did is to build the jar (with no change) using
4.1.3 source, and compare it with
xwiki-platform-legacy-oldcore-4.1.3.jar(built by xwiki dev team) to
make sure they are the same -- meaning everything we did are correct,
the source is correct, and the build steps are correct.
After your explanation, now we know it's safe to replace
xwiki-platform-legacy-oldcore-4.1.3 with the one we built from source.
Thank you all
On Thu, Aug 30, 2012 at 5:50 PM, ray ye <ray.ye(a)ddaysoft.com> wrote:
Jar file xwiki-platform-legacy-oldcore-4.1.3 can be
found in
xwiki-enterprise-jetty-hsqldb-4.1.3.zip\webapps\xwiki\WEB-INF\lib
Inside of this jar file, you could find "compatibility" sub folder and
compatibility\com\xpn\xwiki\api with class files.
However, in the jar file built from 4.1.3 source, there is NO such
"compatibility" folder. BTW, the jar file name is
xwiki-platform-oldcore-4.1-SNAPSHOT.jar, when built using "mvn clean
install"
On Thu, Aug 30, 2012 at 2:18 PM, Vincent Massol <vincent(a)massol.net> wrote:
>
> On Aug 30, 2012, at 8:11 AM, ray ye <ray.ye(a)ddaysoft.com> 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"
>
> WDYM by "compatibility folder"?
>
>> 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
>>
>>
>> How the official build was built?
>
> Similarly.
>
> Thanks
> -Vincent
>
>>
>> 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
> _______________________________________________
> users mailing list
> users(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/users