On Fri, May 6, 2011 at 7:44 PM, Jun Han <[email protected]> wrote: > Hi, Thomas, Sergiu and Fabio, > > Thanks a lot for your clarification. > I have downloaded xwiki-eclipse from git repository and looked at the > current build script and Eclipse tycho project. > > I have several questions about working on building xwiki-eclipse via > tycho (#XEclipse-150): > 1. what tasks to support? > common ones would be: init, build-xx, build-all, clean, run > I do not find test source folders in the project, so "test" task can be > skipped at current stage > > Is there anything else? > The idea is that a mvn clean install would build and test XEclipse. So there will be some things to setup (e.g., a target platform, etc.)
You can have a look at this nice article http://mattiasholmqvist.se/2010/02/building-with-tycho-part-1-osgi-bundles/ to see how to do it There is also a github repo with all the examples that define the target platform, test bundles, update site, features, etc. (https://github.com/mattiasholmqvist/tychoexamples) > 2. what artifacts do we want to generate? > feature > p2 repository > update site > RCP application (or product) > XEclipse already has a feature build and a RCP version. For the update site I think the p2 repository is needed so I would say all of them :) > 3. what platforms and OSs we are going to support? > I can test linux (Fedora) and windows (windows 7) 32bit, but currently I > do not have access to 64bit OS or mac OS. > We can build for the three of them (Linux, Windows and MacOSX). For the testing this is a bit complicated... The only place where we could see some glitches, imho, is in the UI. But for this we can rely on user feedback and fix things on demand. The backend should work the same on every platform and should then be easily testable using Tycho's infrastructure. > 4. I will keep the current directory structure of xwiki-eclipse, then > create a pom.xml and start from there. Does this look okay? > > xwiki-eclipse > |--features > |--plugins > |--readme > |--pom.xml > > Do I also need to consider the communication with the parent folder, > e.g., xwiki? > Yep. Sergiu gave already a hint on this. Thanks, Fabio > Best regards > Jun Han > > On 05/04/2011 10:32 AM, Sergiu Dumitriu wrote: >> On 05/01/2011 08:51 PM, Sergiu Dumitriu wrote: >>> On 05/01/2011 08:24 PM, Jun Han wrote: >>>> Dear all, >>>> >>>> First of all, I am very glad that I can participate in the GSOC project >>>> and thanks a lot for giving this great oppotunity. >>> Hi Jun, welcome aboard! >>> >>>> During the Community bonding period, I will look at the JIRA issues >>>> about XEclipse. >>>> >>>> However, I have several questions about XEclipse development: >>>> 1. Now the whole XWiki project is moving to github, where would XEclipse >>>> project be hosted, in SVN or git? I searched for XEclipse in github, and >>>> do not find a related entry. >>> It will be migrated to github in the very near future. For the moment, >>> you can checkout the sources from SVN to take a look at the code. >> I just migrated the repository: >> >> https://github.com/xwiki/xwiki-eclipse >> >>>> 2. what is the build method, using maven, Tycho or just in Eclipse IDE? >>>> This is related to XEclipse-150 issue In JIRA, which requires the whole >>>> XEclipse project to be built from maven and Tycho. I can already run >>>> XEclipse from Eclipse IDE. But if maven is to be used, I think I will >>>> learn some maven as well. >>> Currently, maven is the recommended way to build XEclipse. The 150 issue >>> was created especially for you, so that can be your first task. >>> >>>> Best regards >>>> Jun Han >>> >> > > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

