On 05/06/2011 07:44 PM, Jun Han 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):
I won't be able to answer your questions, since I don't know that much
about XEclipse.
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
Hm, not having tests is not that good. This is something we should
improve in the future.
Is there anything else?
2. what artifacts do we want to generate?
feature
p2 repository
update site
RCP application (or product)
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.
You don't have to test on all platforms yourself. Normally, any build
tools should work the same on all platforms. After you commit something
on github, others from the community will be able to test on their systems.
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
Yep.
Do I also need to consider the communication with the
parent folder,
e.g., xwiki?
It's not mandatory, but you should declare as parent project the root
xwiki pom, with:
<parent>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-pom</artifactId>
<version>3.1-SNAPSHOT</version>
<relativePath>../xwiki-commons/xwiki-commons-pom</relativePath>
</parent>
The advantage is that it already defines some properties, like the
license, the organization, issue tracker, mailing lists, etc.
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
--
Sergiu Dumitriu
http://purl.org/net/sergiu/