[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [nebula-dev] In light of Restructuting - On our builds and CVS | 
Hi all,
Thanks David for the vex example.
I can build & test successfully with Maven. My issue was finally not a  
Tycho one. Eclipse was picking up another Gallery project for which  
the tests were passing, but on the one I was using for Tycho, tests  
were failing. I did not notice I had this additional project open.
I committed the pom for gallery and I'll move on to the next step :  
creating a hudson job on the new instance and publishing archetypes.
David : Do you have any pointers on how I should setup update site/  
jar publishing from Hudson to eclipse downloads. I took a look at the  
configuration of other tycho projects on hudson, but none seems to  
publish to downloads (at least with maven deploy or hudson).
--  
Nicolas
Le 14 oct. 10 à 21:05, David Carver a écrit :
If you can get a git Mirror of your CVS repo setup, I can start to  
mavenize the items.  If your code resides in SVN that is even easier  
as I can use git-svn to make a local git repo and then make my  
changes there, and submit a patch back.
Yes, Tycho supports the eclipse conventions so that is not going to  
be a problem.  use the eclipse-test-plugin package goal.  You can  
see how the Vex project uses this to run tests.
http://git.eclipse.org/c/webtools/org.eclipse.webtools.incubator.git/tree/sourceediting/tests/org.eclipse.wst.xml.vex.core.tests/pom.xml?h=vex-dev
That pom is setup to run the tests.
Dave
On 10/12/2010 02:27 AM, Tom Schindl wrote:
Hi Nicolas,
You can probably get in touch with Dave Carver so that you can  
discuss
the build stuff.
Dave is your offer still valid? We've decided to move to git in the
future if this makes a difference.
I'm not a maven expert but I'd like us to follow Eclipse conventions
where test-code is hosted in an extra bundle.
Tom
Am 12.10.10 11:21, schrieb Nicolas Richeton:
Hi,
I had no free time this week to work on builds but here is my  
current status :
- I can build locally Gallery and tycho setup is really easy and  
fast
- I can run tests, but there is an initialization issue with SWT  
(on OSX at least) so all tests fails. I posted on the new tycho  
mailing list but no answer yet [1].
- I still have to test the publishing of the jars on eclipse  
downloads (2 options : with maven distribution management or with  
Hudson)
- We may have to reorganize projects in the repository if we want  
to build code and tests with a single command. This is because  
units tests are in a separate bundle when using Eclipse style and  
maven needs the following hierarchy to build several bundles at  
once :
pom.xml<- multi-module project
module1/pom.xml<- main bundle
module1/<all bundle files>
module2/pomx.<- test bundle
module2/<all test bundle files>
Currently, the multi-module project can only be the root of Nebula  
cvs : it will build all projects at once, but not a specific  
bundle + tests. (However we may be able to do it with specific  
maven options).
OR we could move tests in the main bundle (maven style) and remove  
test bundles.