[xwiki-devs] about XWiki XEclipse Restification
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. 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. 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. Best regards Jun Han
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.
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/
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/
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? 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. 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? 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
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/
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
On Sun, May 1, 2011 at 20:24, Jun Han <[email protected]> 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.
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.
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.
To build XEclipse you have to follow https://svn.xwiki.org/svnroot/xwiki/xeclipse/trunk/README which is based on maven but without Tycho. Make the build based on Tycho is one of the goal during this GSOC I think. There is a jira issue about that but I can't access Jira right now.
Best regards Jun Han _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
Hi Jun, glad to have you aboard. The others have already answered your questions... For the moment what I suggest is that you checkout the code from SVN and work from there. For the community bonding period I would say to start from http://jira.xwiki.org/jira/browse/XECLIPSE-150 which, as Sergiu said, was created especially for you :) This will give us a stable, standard building environment to start with. Some history... The current building infrastructure is an ad-hoc solution to integrate Eclipse plugin build with Maven. This was done because at that time there was no standard solution to do this, and building Eclipse plugins from outside the the PDE was a pain. Now project Tycho seems to have inverted this trend and provides a nice and maven-oriented way to build Eclipse plugins (and features, and update sites, etc.) from the command line. Basically what we needed. Thanks, Fabio On Sun, May 1, 2011 at 8:24 PM, Jun Han <[email protected]> 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.
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.
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.
Best regards Jun Han _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hi Jun, just a ping to ask you how is it going... Are you working on XECLIPSE-150? What is the status? Thanks, Fabio On Sun, May 1, 2011 at 8:24 PM, Jun Han <[email protected]> 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.
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.
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.
Best regards Jun Han _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hi Fabio, I am now working on XEclipse-150. Following the tycho demo tutorial, I have made tycho+maven to work under Window 7 including generating products, features, plugins. However, in Fedora 14, there is some problems. The maven script builds successfully, all the tasks are marked as "successful", but the generated RCP product can not run. The error log shows it cannot find some workbench class. Today I will try to run maven script under Ubuntu to see if this issue only happens in Fedora 14. If same issue still occurs, I will try finish a patch of XEclipse-150 for window environment first and then look into the issues in Linux later. Best regards Jun Han On 5/11/2011 8:32 AM, Fabio Mancinelli wrote:
Hi Jun,
just a ping to ask you how is it going... Are you working on XECLIPSE-150? What is the status?
Thanks, Fabio
On Sun, May 1, 2011 at 8:24 PM, Jun Han<[email protected]> 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.
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.
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.
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
Hi Jun, not sure but maybe you need to define a target platform for the RCP build and also use the RCP-Delta pack which contains all the things needed for cross-platform build. Did you use the delta pack? Keep us posted. Thanks, Fabio On Thu, May 12, 2011 at 3:09 PM, Jun Han <[email protected]> wrote:
Hi Fabio,
I am now working on XEclipse-150.
Following the tycho demo tutorial, I have made tycho+maven to work under Window 7 including generating products, features, plugins.
However, in Fedora 14, there is some problems. The maven script builds successfully, all the tasks are marked as "successful", but the generated RCP product can not run. The error log shows it cannot find some workbench class.
Today I will try to run maven script under Ubuntu to see if this issue only happens in Fedora 14.
If same issue still occurs, I will try finish a patch of XEclipse-150 for window environment first and then look into the issues in Linux later.
Best regards Jun Han
On 5/11/2011 8:32 AM, Fabio Mancinelli wrote:
Hi Jun,
just a ping to ask you how is it going... Are you working on XECLIPSE-150? What is the status?
Thanks, Fabio
On Sun, May 1, 2011 at 8:24 PM, Jun Han<[email protected]> 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.
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.
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.
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
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hi Fabio, Thanks a lot for your information. I have already fixed the bug in linux, which is related to the Linux platform configuration. Now I can run the tycho tutorial in both Windows 7, Fedora 14 and Ubuntu 10.10. I am now creating build script for XEclipse and will post a patch file for XEclipse-150 soon. Best regards Jun Han On 05/12/2011 09:13 AM, Fabio Mancinelli wrote:
Hi Jun,
not sure but maybe you need to define a target platform for the RCP build and also use the RCP-Delta pack which contains all the things needed for cross-platform build. Did you use the delta pack?
Keep us posted.
Thanks, Fabio
On Thu, May 12, 2011 at 3:09 PM, Jun Han<[email protected]> wrote:
Hi Fabio,
I am now working on XEclipse-150.
Following the tycho demo tutorial, I have made tycho+maven to work under Window 7 including generating products, features, plugins.
However, in Fedora 14, there is some problems. The maven script builds successfully, all the tasks are marked as "successful", but the generated RCP product can not run. The error log shows it cannot find some workbench class.
Today I will try to run maven script under Ubuntu to see if this issue only happens in Fedora 14.
If same issue still occurs, I will try finish a patch of XEclipse-150 for window environment first and then look into the issues in Linux later.
Best regards Jun Han
On 5/11/2011 8:32 AM, Fabio Mancinelli wrote:
Hi Jun,
just a ping to ask you how is it going... Are you working on XECLIPSE-150? What is the status?
Thanks, Fabio
On Sun, May 1, 2011 at 8:24 PM, Jun Han<[email protected]> 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.
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.
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.
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
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hi Jun, On 05/12/2011 08:39 PM, Jun Han wrote:
Hi Fabio,
Thanks a lot for your information. I have already fixed the bug in linux, which is related to the Linux platform configuration. Now I can run the tycho tutorial in both Windows 7, Fedora 14 and Ubuntu 10.10.
I am now creating build script for XEclipse and will post a patch file for XEclipse-150 soon. Great! Just make sure you use GitHub to provide your contribution as a pull request :)
Thanks, Eduard
Best regards Jun Han
On 05/12/2011 09:13 AM, Fabio Mancinelli wrote:
Hi Jun,
not sure but maybe you need to define a target platform for the RCP build and also use the RCP-Delta pack which contains all the things needed for cross-platform build. Did you use the delta pack?
Keep us posted.
Thanks, Fabio
On Thu, May 12, 2011 at 3:09 PM, Jun Han<[email protected]> wrote:
Hi Fabio,
I am now working on XEclipse-150.
Following the tycho demo tutorial, I have made tycho+maven to work under Window 7 including generating products, features, plugins.
However, in Fedora 14, there is some problems. The maven script builds successfully, all the tasks are marked as "successful", but the generated RCP product can not run. The error log shows it cannot find some workbench class.
Today I will try to run maven script under Ubuntu to see if this issue only happens in Fedora 14.
If same issue still occurs, I will try finish a patch of XEclipse-150 for window environment first and then look into the issues in Linux later.
Best regards Jun Han
On 5/11/2011 8:32 AM, Fabio Mancinelli wrote:
Hi Jun,
just a ping to ask you how is it going... Are you working on XECLIPSE-150? What is the status?
Thanks, Fabio
On Sun, May 1, 2011 at 8:24 PM, Jun Han<[email protected]> 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.
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.
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.
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
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (5)
-
Eduard Moraru -
Fabio Mancinelli -
Jun Han -
Sergiu Dumitriu -
Thomas Mortagne