Merge lp:~verterok/bzr-eclipse/builds-with-tycho into lp:~verterok/bzr-eclipse/trunk
- builds-with-tycho
- Merge into trunk
Proposed by
Guillermo Gonzalez
Status: | Merged |
---|---|
Merged at revision: | 223 |
Proposed branch: | lp:~verterok/bzr-eclipse/builds-with-tycho |
Merge into: | lp:~verterok/bzr-eclipse/trunk |
Diff against target: |
796 lines (+395/-96) 25 files modified
.bzrignore (+10/-0) HowToCompileAndRun.txt (+4/-4) INSTALL (+1/-1) org.apache.commons.logging/pom.xml (+3/-2) org.kxml2/pom.xml (+3/-2) org.vcs.bazaar.eclipse.client/pom.xml (+17/-7) org.vcs.bazaar.eclipse.core.tests/pom.xml (+49/-28) org.vcs.bazaar.eclipse.core.tests/src/org/vcs/bazaar/eclipse/AbstractCoreTestCase.java (+1/-0) org.vcs.bazaar.eclipse.core.tests/src/org/vcs/bazaar/eclipse/TestCaseWithProject.java (+8/-3) org.vcs.bazaar.eclipse.core.tests/src/org/vcs/bazaar/eclipse/WorkspaceUtil.java (+7/-2) org.vcs.bazaar.eclipse.core.tests/src/org/vcs/bazaar/eclipse/core/BundledPluginsTest.java (+2/-1) org.vcs.bazaar.eclipse.core/.settings/org.eclipse.mylar.tasklist.prefs (+0/-4) org.vcs.bazaar.eclipse.core/pom.xml (+14/-0) org.vcs.bazaar.eclipse.feature/.project (+23/-17) org.vcs.bazaar.eclipse.feature/pom.xml (+14/-0) org.vcs.bazaar.eclipse.site/.project (+23/-0) org.vcs.bazaar.eclipse.site/pom.xml (+14/-0) org.vcs.bazaar.eclipse.site/site.xml (+17/-0) org.vcs.bazaar.eclipse.tests-feature/.project (+6/-0) org.vcs.bazaar.eclipse.tests-feature/feature.xml (+1/-1) org.vcs.bazaar.eclipse.tests-feature/pom.xml (+14/-0) org.vcs.bazaar.eclipse.ui/.settings/org.eclipse.mylar.tasklist.prefs (+0/-4) org.vcs.bazaar.eclipse.ui/pom.xml (+14/-0) pom.xml (+146/-17) redstone.xmlrpc/pom.xml (+4/-3) |
To merge this branch: | bzr merge lp:~verterok/bzr-eclipse/builds-with-tycho |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
xaav | Pending | ||
Review via email: mp+68480@code.launchpad.net |
Commit message
Description of the change
This branch adds a "site" project and changes all the pom.xml and fix some issues with the tests in order to make use of tycho to run tests and build the update-site.
To post a comment you must log in.
Revision history for this message
Guillermo Gonzalez (verterok) wrote : | # |
Revision history for this message
Guillermo Gonzalez (verterok) wrote : | # |
And if you want to check the result of the new build, here is the update site generate by tycho: http://
Revision history for this message
xaav (xaav) wrote : | # |
Sorry, I was gone the past few weeks. I'll look into this as soon as I have the time!
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file '.bzrignore' |
2 | --- .bzrignore 2009-05-04 05:13:16 +0000 |
3 | +++ .bzrignore 2011-07-20 00:07:30 +0000 |
4 | @@ -9,3 +9,13 @@ |
5 | *.jar |
6 | org.vcs.bazaar.eclipse.core.tests/bin |
7 | org.vcs.bazaar.eclipse.client/plugins/* |
8 | +org.apache.commons.logging/target |
9 | +org.kxml2/target |
10 | +org.vcs.bazaar.eclipse.client/target |
11 | +org.vcs.bazaar.eclipse.core/target |
12 | +org.vcs.bazaar.eclipse.core.tests/target |
13 | +org.vcs.bazaar.eclipse.feature/target |
14 | +org.vcs.bazaar.eclipse.site/target |
15 | +org.vcs.bazaar.eclipse.tests-feature/target |
16 | +org.vcs.bazaar.eclipse.ui/target |
17 | +redstone.xmlrpc/target |
18 | |
19 | === modified file 'HowToCompileAndRun.txt' |
20 | --- HowToCompileAndRun.txt 2009-09-20 06:59:46 +0000 |
21 | +++ HowToCompileAndRun.txt 2011-07-20 00:07:30 +0000 |
22 | @@ -1,9 +1,9 @@ |
23 | Requirements: |
24 | * Eclipse SDK >= 3.3 (get it [http://eclipse.org/downloads here]) |
25 | * Java 1.5 (5.0) but should run with 1.6 (get it [http://java.sun.com/javase/downloads/index.jsp here]) |
26 | - * bzr-xmloutput >= 0.8.5 |
27 | - * bazaar >= 1.18 recommended |
28 | - * maven (2.2.0 recommended) |
29 | + * bzr-xmloutput >= 0.8.7 |
30 | + * bazaar >= 2.x recommended |
31 | + * maven 3.0.x (a.k.a tycho) |
32 | |
33 | Recomended: |
34 | * ~1 GB of RAM, to comfortably run in debug mode or directly from the source (more on this later) |
35 | @@ -11,7 +11,7 @@ |
36 | 1) Get the source code from https://launchpad.net/bzr-eclipse |
37 | bzr branch lp:bzr-eclipse |
38 | |
39 | - 1.1) run: mvn compile to get bzr-java-lib and it dependencies in place |
40 | + 1.1) run: 'mvn compile integration-tests' to get bzr-java-lib and it dependencies in place and run the tests. |
41 | |
42 | 2) Launch Eclipse |
43 | 2.1) File--> Import --> "Existing project into workspace" |
44 | |
45 | === modified file 'INSTALL' |
46 | --- INSTALL 2009-09-20 06:59:46 +0000 |
47 | +++ INSTALL 2011-07-20 00:07:30 +0000 |
48 | @@ -10,7 +10,7 @@ |
49 | |
50 | Dependencies |
51 | ------------ |
52 | - * bazaar >= 1.18 recommended |
53 | + * bazaar >= 2.x recommended |
54 | * Java SDK/JRE >=1.5 |
55 | * Eclipse >= 3.3 |
56 | |
57 | |
58 | === modified file 'org.apache.commons.logging/pom.xml' |
59 | --- org.apache.commons.logging/pom.xml 2009-09-05 15:06:07 +0000 |
60 | +++ org.apache.commons.logging/pom.xml 2011-07-20 00:07:30 +0000 |
61 | @@ -2,14 +2,15 @@ |
62 | <project> |
63 | <modelVersion>4.0.0</modelVersion> |
64 | <parent> |
65 | - <artifactId>bzr-eclipse</artifactId> |
66 | <groupId>org.vcs.bazaar.eclipse</groupId> |
67 | + <artifactId>org.vcs.bazaar.eclipse</artifactId> |
68 | <version>1.1.1-SNAPSHOT</version> |
69 | + <relativePath>../pom.xml</relativePath> |
70 | </parent> |
71 | <groupId>org.apache.commons.logging</groupId> |
72 | <artifactId>org.apache.commons.logging</artifactId> |
73 | <version>1.1.1</version> |
74 | - <packaging>pom</packaging> |
75 | + <packaging>eclipse-plugin</packaging> |
76 | <dependencies> |
77 | <dependency> |
78 | <groupId>commons-logging</groupId> |
79 | |
80 | === modified file 'org.kxml2/pom.xml' |
81 | --- org.kxml2/pom.xml 2009-09-05 15:06:07 +0000 |
82 | +++ org.kxml2/pom.xml 2011-07-20 00:07:30 +0000 |
83 | @@ -2,14 +2,15 @@ |
84 | <project> |
85 | <modelVersion>4.0.0</modelVersion> |
86 | <parent> |
87 | - <artifactId>bzr-eclipse</artifactId> |
88 | <groupId>org.vcs.bazaar.eclipse</groupId> |
89 | + <artifactId>org.vcs.bazaar.eclipse</artifactId> |
90 | <version>1.1.1-SNAPSHOT</version> |
91 | + <relativePath>../pom.xml</relativePath> |
92 | </parent> |
93 | <groupId>org.kxml2</groupId> |
94 | <artifactId>org.kxml2</artifactId> |
95 | <version>2.3.0</version> |
96 | - <packaging>pom</packaging> |
97 | + <packaging>eclipse-plugin</packaging> |
98 | <dependencies> |
99 | <dependency> |
100 | <groupId>kxml2</groupId> |
101 | |
102 | === modified file 'org.vcs.bazaar.eclipse.client/pom.xml' |
103 | --- org.vcs.bazaar.eclipse.client/pom.xml 2009-11-15 05:46:21 +0000 |
104 | +++ org.vcs.bazaar.eclipse.client/pom.xml 2011-07-20 00:07:30 +0000 |
105 | @@ -2,14 +2,15 @@ |
106 | <project> |
107 | <modelVersion>4.0.0</modelVersion> |
108 | <parent> |
109 | - <artifactId>bzr-eclipse</artifactId> |
110 | <groupId>org.vcs.bazaar.eclipse</groupId> |
111 | + <artifactId>org.vcs.bazaar.eclipse</artifactId> |
112 | <version>1.1.1-SNAPSHOT</version> |
113 | + <relativePath>../pom.xml</relativePath> |
114 | </parent> |
115 | - <groupId>org.vcs.bazaar.eclipse</groupId> |
116 | + <groupId>org.vcs.bazaar.eclipse.client</groupId> |
117 | <artifactId>org.vcs.bazaar.eclipse.client</artifactId> |
118 | - <version>0.5.3.qualifier</version> |
119 | - <packaging>pom</packaging> |
120 | + <version>0.5.3</version> |
121 | + <packaging>eclipse-plugin</packaging> |
122 | <dependencies> |
123 | <dependency> |
124 | <groupId>org.vcs.bazaar.client</groupId> |
125 | @@ -28,13 +29,22 @@ |
126 | <id>copy-dependencies</id> |
127 | <phase>compile</phase> |
128 | <goals> |
129 | - <goal>copy-dependencies</goal> |
130 | + <goal>copy</goal> |
131 | </goals> |
132 | <configuration> |
133 | + <artifactItems> |
134 | + <artifactItem> |
135 | + <groupId>org.vcs.bazaar.client</groupId> |
136 | + <artifactId>bzr-java-lib</artifactId> |
137 | + <type>jar</type> |
138 | + <overWrite>false</overWrite> |
139 | + </artifactItem> |
140 | + </artifactItems> |
141 | <excludeArtifactIds>kxml2-min,xmlrpc-client,commons-logging</excludeArtifactIds> |
142 | - <overWriteReleases>true</overWriteReleases> |
143 | - <overWriteSnapshots>true</overWriteSnapshots> |
144 | + <overWriteReleases>false</overWriteReleases> |
145 | + <overWriteSnapshots>false</overWriteSnapshots> |
146 | <overWriteIfNewer>true</overWriteIfNewer> |
147 | + <excludeTransitive>true</excludeTransitive> |
148 | <outputDirectory>${basedir}</outputDirectory> |
149 | </configuration> |
150 | </execution> |
151 | |
152 | === modified file 'org.vcs.bazaar.eclipse.core.tests/pom.xml' |
153 | --- org.vcs.bazaar.eclipse.core.tests/pom.xml 2009-11-15 05:46:21 +0000 |
154 | +++ org.vcs.bazaar.eclipse.core.tests/pom.xml 2011-07-20 00:07:30 +0000 |
155 | @@ -2,15 +2,16 @@ |
156 | <project> |
157 | <modelVersion>4.0.0</modelVersion> |
158 | <parent> |
159 | - <artifactId>bzr-eclipse</artifactId> |
160 | <groupId>org.vcs.bazaar.eclipse</groupId> |
161 | + <artifactId>org.vcs.bazaar.eclipse</artifactId> |
162 | <version>1.1.1-SNAPSHOT</version> |
163 | + <relativePath>../pom.xml</relativePath> |
164 | </parent> |
165 | - <groupId>org.vcs.bazaar.eclipse</groupId> |
166 | - <artifactId>org.vcs.bazaar.eclipse.core.tests</artifactId> |
167 | - <version>1.1.1.qualifier</version> |
168 | - <packaging>pom</packaging> |
169 | - <dependencies> |
170 | + <groupId>org.vcs.bazaar.eclipse.core.test</groupId> |
171 | + <artifactId>org.vcs.bazaar.eclipse.core.test</artifactId> |
172 | + <version>${bzr-eclipse-version}</version> |
173 | + <packaging>eclipse-test-plugin</packaging> |
174 | + <dependencies> |
175 | <dependency> |
176 | <groupId>org.vcs.bazaar.client</groupId> |
177 | <artifactId>bzr-java-lib</artifactId> |
178 | @@ -19,28 +20,48 @@ |
179 | <scope>compile</scope> |
180 | </dependency> |
181 | </dependencies> |
182 | + |
183 | <build> |
184 | - <plugins> |
185 | - <plugin> |
186 | - <groupId>org.apache.maven.plugins</groupId> |
187 | - <artifactId>maven-dependency-plugin</artifactId> |
188 | - <executions> |
189 | - <execution> |
190 | - <id>copy-dependencies</id> |
191 | - <phase>compile</phase> |
192 | - <goals> |
193 | - <goal>copy-dependencies</goal> |
194 | - </goals> |
195 | - <configuration> |
196 | - <excludeArtifactIds>kxml2-min,xmlrpc,xmlrpc-client,commons-logging</excludeArtifactIds> |
197 | - <overWriteReleases>true</overWriteReleases> |
198 | - <overWriteSnapshots>true</overWriteSnapshots> |
199 | - <overWriteIfNewer>true</overWriteIfNewer> |
200 | - <outputDirectory>${basedir}</outputDirectory> |
201 | - </configuration> |
202 | - </execution> |
203 | - </executions> |
204 | - </plugin> |
205 | - </plugins> |
206 | + <plugins> |
207 | + <plugin> |
208 | + <groupId>org.apache.maven.plugins</groupId> |
209 | + <artifactId>maven-dependency-plugin</artifactId> |
210 | + <executions> |
211 | + <execution> |
212 | + <id>copy-dependencies</id> |
213 | + <phase>generate-sources</phase> |
214 | + <goals> |
215 | + <goal>copy</goal> |
216 | + </goals> |
217 | + <configuration> |
218 | + <artifactItems> |
219 | + <artifactItem> |
220 | + <groupId>org.vcs.bazaar.client</groupId> |
221 | + <artifactId>bzr-java-lib</artifactId> |
222 | + <classifier>tests</classifier> |
223 | + <type>jar</type> |
224 | + <overWrite>false</overWrite> |
225 | + </artifactItem> |
226 | + </artifactItems> |
227 | + <excludeArtifactIds>kxml2-min,xmlrpc-client,commons-logging</excludeArtifactIds> |
228 | + <overWriteReleases>false</overWriteReleases> |
229 | + <overWriteSnapshots>false</overWriteSnapshots> |
230 | + <overWriteIfNewer>true</overWriteIfNewer> |
231 | + <excludeTransitive>true</excludeTransitive> |
232 | + <outputDirectory>${basedir}</outputDirectory> |
233 | + </configuration> |
234 | + </execution> |
235 | + </executions> |
236 | + </plugin> |
237 | + <plugin> |
238 | + <groupId>org.sonatype.tycho</groupId> |
239 | + <artifactId>maven-osgi-test-plugin</artifactId> |
240 | + <configuration> |
241 | + <explodedBundles> |
242 | + <bundle>org.vcs.bazaar.eclipse.client</bundle> |
243 | + </explodedBundles> |
244 | + </configuration> |
245 | + </plugin> |
246 | + </plugins> |
247 | </build> |
248 | </project> |
249 | |
250 | === modified file 'org.vcs.bazaar.eclipse.core.tests/src/org/vcs/bazaar/eclipse/AbstractCoreTestCase.java' |
251 | --- org.vcs.bazaar.eclipse.core.tests/src/org/vcs/bazaar/eclipse/AbstractCoreTestCase.java 2009-09-20 06:55:23 +0000 |
252 | +++ org.vcs.bazaar.eclipse.core.tests/src/org/vcs/bazaar/eclipse/AbstractCoreTestCase.java 2011-07-20 00:07:30 +0000 |
253 | @@ -22,6 +22,7 @@ |
254 | @BeforeClass |
255 | public static void initialize() { |
256 | final Preferences prefs = EclipseBazaarCore.getDefault().getPluginPreferences(); |
257 | + prefs.setValue(IBazaarCoreConstants.USE_BUNDLED_PLUGINS, true); |
258 | if(!EclipseBazaarCore.getDefault().isClientAvailable()) { |
259 | BazaarUtilities.configureBazaarClient(AbstractCoreTestCase.class, "/tests.properties"); |
260 | final BazaarClientPreferences clientPrefs = BazaarClientPreferences.getInstance(); |
261 | |
262 | === modified file 'org.vcs.bazaar.eclipse.core.tests/src/org/vcs/bazaar/eclipse/TestCaseWithProject.java' |
263 | --- org.vcs.bazaar.eclipse.core.tests/src/org/vcs/bazaar/eclipse/TestCaseWithProject.java 2009-01-02 23:14:54 +0000 |
264 | +++ org.vcs.bazaar.eclipse.core.tests/src/org/vcs/bazaar/eclipse/TestCaseWithProject.java 2011-07-20 00:07:30 +0000 |
265 | @@ -21,8 +21,9 @@ |
266 | * @author Guillermo Gonzalez <guillo.gonzo@gmail.com> |
267 | * |
268 | */ |
269 | -public class TestCaseWithProject extends AbstractCoreTestCase { |
270 | +public abstract class TestCaseWithProject extends AbstractCoreTestCase { |
271 | |
272 | + private File testRoot; |
273 | private IProject project; |
274 | private ExpectedWorkingTree wt; |
275 | |
276 | @@ -40,10 +41,13 @@ |
277 | return wt; |
278 | } |
279 | |
280 | - |
281 | @Before |
282 | public void setUp() throws Exception { |
283 | - project = WorkspaceUtil.createProject(this.getClass().getName()); |
284 | + testRoot = File.createTempFile("bzr-eclipse", "test"); |
285 | + testRoot.delete(); |
286 | + testRoot.mkdir(); |
287 | + project = WorkspaceUtil.createProject(testRoot, this.getClass().getName()); |
288 | + System.out.println(); |
289 | wt = createWorkingTree(project.getLocation()); |
290 | project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor()); |
291 | BazaarTeamProvider.map(project, BazaarTeamProvider.ID); |
292 | @@ -53,6 +57,7 @@ |
293 | public void tearDown() throws Exception { |
294 | if(project != null) |
295 | project.delete(true, true, new NullProgressMonitor()); |
296 | + testRoot.delete(); |
297 | } |
298 | |
299 | /** |
300 | |
301 | === modified file 'org.vcs.bazaar.eclipse.core.tests/src/org/vcs/bazaar/eclipse/WorkspaceUtil.java' |
302 | --- org.vcs.bazaar.eclipse.core.tests/src/org/vcs/bazaar/eclipse/WorkspaceUtil.java 2008-11-08 14:12:28 +0000 |
303 | +++ org.vcs.bazaar.eclipse.core.tests/src/org/vcs/bazaar/eclipse/WorkspaceUtil.java 2011-07-20 00:07:30 +0000 |
304 | @@ -1,23 +1,28 @@ |
305 | package org.vcs.bazaar.eclipse; |
306 | |
307 | +import java.io.File; |
308 | import java.io.IOException; |
309 | |
310 | import org.eclipse.core.resources.IProject; |
311 | +import org.eclipse.core.resources.IProjectDescription; |
312 | import org.eclipse.core.resources.IWorkspaceRoot; |
313 | import org.eclipse.core.resources.ResourcesPlugin; |
314 | import org.eclipse.core.runtime.CoreException; |
315 | import org.eclipse.core.runtime.NullProgressMonitor; |
316 | +import org.eclipse.core.runtime.Path; |
317 | import org.vcs.bazaar.client.testUtils.ExpectedWorkingTree; |
318 | |
319 | public class WorkspaceUtil { |
320 | |
321 | - public static IProject createProject(String name) throws CoreException { |
322 | + public static IProject createProject(File baseDir, String name) throws CoreException { |
323 | IWorkspaceRoot workspaceRoot = ResourcesPlugin.getWorkspace().getRoot(); |
324 | IProject project = workspaceRoot.getProject(name); |
325 | if(project.exists()) { |
326 | project.delete(true, new NullProgressMonitor()); |
327 | } |
328 | - project.create(null); |
329 | + IProjectDescription desc = ResourcesPlugin.getWorkspace().newProjectDescription(name); |
330 | + desc.setLocation(new Path(baseDir.getAbsolutePath())); |
331 | + project.create(desc, new NullProgressMonitor()); |
332 | project.open(null); |
333 | return project; |
334 | } |
335 | |
336 | === modified file 'org.vcs.bazaar.eclipse.core.tests/src/org/vcs/bazaar/eclipse/core/BundledPluginsTest.java' |
337 | --- org.vcs.bazaar.eclipse.core.tests/src/org/vcs/bazaar/eclipse/core/BundledPluginsTest.java 2009-09-20 06:55:23 +0000 |
338 | +++ org.vcs.bazaar.eclipse.core.tests/src/org/vcs/bazaar/eclipse/core/BundledPluginsTest.java 2011-07-20 00:07:30 +0000 |
339 | @@ -25,7 +25,8 @@ |
340 | IBazaarClient client = this.getClient(); |
341 | for(IPlugin plugin: client.plugins()) { |
342 | if(plugin.getName().equals("xmloutput")) { |
343 | - Assert.assertTrue(plugin.getPath().contains("org.vcs.bazaar.eclipse.client/plugins")); |
344 | + Assert.assertTrue(plugin.getPath() + " doesn't contains org.vcs.bazaar.eclipse.client/plugins", |
345 | + plugin.getPath().matches(".*/org.vcs.bazaar.eclipse.client.*/plugins/xmloutput")); |
346 | } |
347 | } |
348 | } |
349 | |
350 | === removed file 'org.vcs.bazaar.eclipse.core/.settings/org.eclipse.mylar.tasklist.prefs' |
351 | --- org.vcs.bazaar.eclipse.core/.settings/org.eclipse.mylar.tasklist.prefs 2007-03-14 12:15:50 +0000 |
352 | +++ org.vcs.bazaar.eclipse.core/.settings/org.eclipse.mylar.tasklist.prefs 1970-01-01 00:00:00 +0000 |
353 | @@ -1,4 +0,0 @@ |
354 | -#Wed Mar 14 08:28:52 ART 2007 |
355 | -eclipse.preferences.version=1 |
356 | -project.repository.kind=trac |
357 | -project.repository.url=http\://trac.steppenwolf.selfip.net/BazaarEclipse |
358 | |
359 | === added file 'org.vcs.bazaar.eclipse.core/pom.xml' |
360 | --- org.vcs.bazaar.eclipse.core/pom.xml 1970-01-01 00:00:00 +0000 |
361 | +++ org.vcs.bazaar.eclipse.core/pom.xml 2011-07-20 00:07:30 +0000 |
362 | @@ -0,0 +1,14 @@ |
363 | +<?xml version="1.0" encoding="UTF-8"?> |
364 | +<project> |
365 | + <modelVersion>4.0.0</modelVersion> |
366 | + <parent> |
367 | + <groupId>org.vcs.bazaar.eclipse</groupId> |
368 | + <artifactId>org.vcs.bazaar.eclipse</artifactId> |
369 | + <version>1.1.1-SNAPSHOT</version> |
370 | + <relativePath>../pom.xml</relativePath> |
371 | + </parent> |
372 | + <groupId>org.vcs.bazaar.eclipse.core</groupId> |
373 | + <artifactId>org.vcs.bazaar.eclipse.core</artifactId> |
374 | + <version>${bzr-eclipse-version}</version> |
375 | + <packaging>eclipse-plugin</packaging> |
376 | +</project> |
377 | |
378 | === modified file 'org.vcs.bazaar.eclipse.feature/.project' |
379 | --- org.vcs.bazaar.eclipse.feature/.project 2008-04-28 03:16:18 +0000 |
380 | +++ org.vcs.bazaar.eclipse.feature/.project 2011-07-20 00:07:30 +0000 |
381 | @@ -1,17 +1,23 @@ |
382 | -<?xml version="1.0" encoding="UTF-8"?> |
383 | -<projectDescription> |
384 | - <name>org.vcs.bazaar.eclipse.feature</name> |
385 | - <comment></comment> |
386 | - <projects> |
387 | - </projects> |
388 | - <buildSpec> |
389 | - <buildCommand> |
390 | - <name>org.eclipse.pde.FeatureBuilder</name> |
391 | - <arguments> |
392 | - </arguments> |
393 | - </buildCommand> |
394 | - </buildSpec> |
395 | - <natures> |
396 | - <nature>org.eclipse.pde.FeatureNature</nature> |
397 | - </natures> |
398 | -</projectDescription> |
399 | +<?xml version="1.0" encoding="UTF-8"?> |
400 | +<projectDescription> |
401 | + <name>org.vcs.bazaar.eclipse.feature</name> |
402 | + <comment></comment> |
403 | + <projects> |
404 | + </projects> |
405 | + <buildSpec> |
406 | + <buildCommand> |
407 | + <name>org.eclipse.jdt.core.javabuilder</name> |
408 | + <arguments> |
409 | + </arguments> |
410 | + </buildCommand> |
411 | + <buildCommand> |
412 | + <name>org.eclipse.pde.FeatureBuilder</name> |
413 | + <arguments> |
414 | + </arguments> |
415 | + </buildCommand> |
416 | + </buildSpec> |
417 | + <natures> |
418 | + <nature>org.eclipse.jdt.core.javanature</nature> |
419 | + <nature>org.eclipse.pde.FeatureNature</nature> |
420 | + </natures> |
421 | +</projectDescription> |
422 | |
423 | === added file 'org.vcs.bazaar.eclipse.feature/pom.xml' |
424 | --- org.vcs.bazaar.eclipse.feature/pom.xml 1970-01-01 00:00:00 +0000 |
425 | +++ org.vcs.bazaar.eclipse.feature/pom.xml 2011-07-20 00:07:30 +0000 |
426 | @@ -0,0 +1,14 @@ |
427 | +<?xml version="1.0" encoding="UTF-8"?> |
428 | +<project> |
429 | + <modelVersion>4.0.0</modelVersion> |
430 | + <parent> |
431 | + <groupId>org.vcs.bazaar.eclipse</groupId> |
432 | + <artifactId>org.vcs.bazaar.eclipse</artifactId> |
433 | + <version>1.1.1-SNAPSHOT</version> |
434 | + <relativePath>../pom.xml</relativePath> |
435 | + </parent> |
436 | + <groupId>org.vcs.bazaar.eclipse.feature</groupId> |
437 | + <artifactId>org.vcs.bazaar.eclipse.feature</artifactId> |
438 | + <version>${bzr-eclipse-version}</version> |
439 | + <packaging>eclipse-feature</packaging> |
440 | +</project> |
441 | |
442 | === added directory 'org.vcs.bazaar.eclipse.site' |
443 | === added file 'org.vcs.bazaar.eclipse.site/.project' |
444 | --- org.vcs.bazaar.eclipse.site/.project 1970-01-01 00:00:00 +0000 |
445 | +++ org.vcs.bazaar.eclipse.site/.project 2011-07-20 00:07:30 +0000 |
446 | @@ -0,0 +1,23 @@ |
447 | +<?xml version="1.0" encoding="UTF-8"?> |
448 | +<projectDescription> |
449 | + <name>org.vcs.bazaar.eclipse.site</name> |
450 | + <comment></comment> |
451 | + <projects> |
452 | + </projects> |
453 | + <buildSpec> |
454 | + <buildCommand> |
455 | + <name>org.eclipse.jdt.core.javabuilder</name> |
456 | + <arguments> |
457 | + </arguments> |
458 | + </buildCommand> |
459 | + <buildCommand> |
460 | + <name>org.eclipse.pde.UpdateSiteBuilder</name> |
461 | + <arguments> |
462 | + </arguments> |
463 | + </buildCommand> |
464 | + </buildSpec> |
465 | + <natures> |
466 | + <nature>org.eclipse.jdt.core.javanature</nature> |
467 | + <nature>org.eclipse.pde.UpdateSiteNature</nature> |
468 | + </natures> |
469 | +</projectDescription> |
470 | |
471 | === added file 'org.vcs.bazaar.eclipse.site/pom.xml' |
472 | --- org.vcs.bazaar.eclipse.site/pom.xml 1970-01-01 00:00:00 +0000 |
473 | +++ org.vcs.bazaar.eclipse.site/pom.xml 2011-07-20 00:07:30 +0000 |
474 | @@ -0,0 +1,14 @@ |
475 | +<?xml version="1.0" encoding="UTF-8"?> |
476 | +<project> |
477 | + <modelVersion>4.0.0</modelVersion> |
478 | + <parent> |
479 | + <groupId>org.vcs.bazaar.eclipse</groupId> |
480 | + <artifactId>org.vcs.bazaar.eclipse</artifactId> |
481 | + <version>1.1.1-SNAPSHOT</version> |
482 | + <relativePath>../pom.xml</relativePath> |
483 | + </parent> |
484 | + <groupId>org.vcs.bazaar.eclipse.site</groupId> |
485 | + <artifactId>org.vcs.bazaar.eclipse.site</artifactId> |
486 | + <version>${bzr-eclipse-version}</version> |
487 | + <packaging>eclipse-update-site</packaging> |
488 | +</project> |
489 | |
490 | === added file 'org.vcs.bazaar.eclipse.site/site.xml' |
491 | --- org.vcs.bazaar.eclipse.site/site.xml 1970-01-01 00:00:00 +0000 |
492 | +++ org.vcs.bazaar.eclipse.site/site.xml 2011-07-20 00:07:30 +0000 |
493 | @@ -0,0 +1,17 @@ |
494 | +<?xml version="1.0" encoding="UTF-8"?> |
495 | +<site> |
496 | + <description url="http://verterok.com.ar/bzr-eclipse/update-site/"> |
497 | + Update site for the Eclipse plugin for Bazaar |
498 | + </description> |
499 | + <feature url="features/org.vcs.bazaar.eclipse.feature_1.1.1.qualifier.jar" id="org.vcs.bazaar.eclipse.feature" version="1.1.1.qualifier"> |
500 | + <category name="bzr-eclipse (dev snapshot)"/> |
501 | + </feature> |
502 | + <!--feature url="features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.qualifier.jar" id="org.vcs.bazaar.eclipse.tests-feature" version="1.1.1.qualifier"> |
503 | + <category name="bzr-eclipse (dev snapshot)"/> |
504 | + </feature--> |
505 | + <category-def name="bzr-eclipse (dev snapshot)" label="bzr-eclipse (Eclipse-3.3 dev snapshot)"> |
506 | + <description> |
507 | + Here you can find snapshots of the current development trunk. |
508 | + </description> |
509 | + </category-def> |
510 | +</site> |
511 | |
512 | === modified file 'org.vcs.bazaar.eclipse.tests-feature/.project' |
513 | --- org.vcs.bazaar.eclipse.tests-feature/.project 2008-10-26 21:07:09 +0000 |
514 | +++ org.vcs.bazaar.eclipse.tests-feature/.project 2011-07-20 00:07:30 +0000 |
515 | @@ -6,12 +6,18 @@ |
516 | </projects> |
517 | <buildSpec> |
518 | <buildCommand> |
519 | + <name>org.eclipse.jdt.core.javabuilder</name> |
520 | + <arguments> |
521 | + </arguments> |
522 | + </buildCommand> |
523 | + <buildCommand> |
524 | <name>org.eclipse.pde.FeatureBuilder</name> |
525 | <arguments> |
526 | </arguments> |
527 | </buildCommand> |
528 | </buildSpec> |
529 | <natures> |
530 | + <nature>org.eclipse.jdt.core.javanature</nature> |
531 | <nature>org.eclipse.pde.FeatureNature</nature> |
532 | </natures> |
533 | </projectDescription> |
534 | |
535 | === modified file 'org.vcs.bazaar.eclipse.tests-feature/feature.xml' |
536 | --- org.vcs.bazaar.eclipse.tests-feature/feature.xml 2009-01-17 22:56:14 +0000 |
537 | +++ org.vcs.bazaar.eclipse.tests-feature/feature.xml 2011-07-20 00:07:30 +0000 |
538 | @@ -39,7 +39,7 @@ |
539 | </requires> |
540 | |
541 | <plugin |
542 | - id="org.vcs.bazaar.eclipse.core.test" |
543 | + id="org.vcs.bazaar.eclipse.core.tests" |
544 | download-size="0" |
545 | install-size="0" |
546 | version="0.0.0" |
547 | |
548 | === added file 'org.vcs.bazaar.eclipse.tests-feature/pom.xml' |
549 | --- org.vcs.bazaar.eclipse.tests-feature/pom.xml 1970-01-01 00:00:00 +0000 |
550 | +++ org.vcs.bazaar.eclipse.tests-feature/pom.xml 2011-07-20 00:07:30 +0000 |
551 | @@ -0,0 +1,14 @@ |
552 | +<?xml version="1.0" encoding="UTF-8"?> |
553 | +<project> |
554 | + <modelVersion>4.0.0</modelVersion> |
555 | + <parent> |
556 | + <groupId>org.vcs.bazaar.eclipse</groupId> |
557 | + <artifactId>org.vcs.bazaar.eclipse</artifactId> |
558 | + <version>${currentVersion}</version> |
559 | + <relativePath>../pom.xml</relativePath> |
560 | + </parent> |
561 | + <groupId>org.vcs.bazaar.eclipse.tests-feature</groupId> |
562 | + <artifactId>org.vcs.bazaar.eclipse.tests-feature</artifactId> |
563 | + <version>1.1.1-SNAPSHOT</version> |
564 | + <packaging>eclipse-test-feature</packaging> |
565 | +</project> |
566 | |
567 | === removed file 'org.vcs.bazaar.eclipse.ui/.settings/org.eclipse.mylar.tasklist.prefs' |
568 | --- org.vcs.bazaar.eclipse.ui/.settings/org.eclipse.mylar.tasklist.prefs 2007-03-14 12:15:50 +0000 |
569 | +++ org.vcs.bazaar.eclipse.ui/.settings/org.eclipse.mylar.tasklist.prefs 1970-01-01 00:00:00 +0000 |
570 | @@ -1,4 +0,0 @@ |
571 | -#Wed Mar 14 09:01:13 ART 2007 |
572 | -eclipse.preferences.version=1 |
573 | -project.repository.kind=trac |
574 | -project.repository.url=http\://trac.steppenwolf.selfip.net/BazaarEclipse |
575 | |
576 | === added file 'org.vcs.bazaar.eclipse.ui/pom.xml' |
577 | --- org.vcs.bazaar.eclipse.ui/pom.xml 1970-01-01 00:00:00 +0000 |
578 | +++ org.vcs.bazaar.eclipse.ui/pom.xml 2011-07-20 00:07:30 +0000 |
579 | @@ -0,0 +1,14 @@ |
580 | +<?xml version="1.0" encoding="UTF-8"?> |
581 | +<project> |
582 | + <modelVersion>4.0.0</modelVersion> |
583 | + <parent> |
584 | + <groupId>org.vcs.bazaar.eclipse</groupId> |
585 | + <artifactId>org.vcs.bazaar.eclipse</artifactId> |
586 | + <version>1.1.1-SNAPSHOT</version> |
587 | + <relativePath>../pom.xml</relativePath> |
588 | + </parent> |
589 | + <groupId>org.vcs.bazaar.eclipse.ui</groupId> |
590 | + <artifactId>org.vcs.bazaar.eclipse.ui</artifactId> |
591 | + <version>${bzr-eclipse-version}</version> |
592 | + <packaging>eclipse-plugin</packaging> |
593 | +</project> |
594 | |
595 | === modified file 'pom.xml' |
596 | --- pom.xml 2009-09-05 15:06:07 +0000 |
597 | +++ pom.xml 2011-07-20 00:07:30 +0000 |
598 | @@ -1,29 +1,158 @@ |
599 | <?xml version="1.0" encoding="UTF-8"?> |
600 | <project> |
601 | <modelVersion>4.0.0</modelVersion> |
602 | + <prerequisites> |
603 | + <maven>3.0</maven> |
604 | + </prerequisites> |
605 | <groupId>org.vcs.bazaar.eclipse</groupId> |
606 | - <artifactId>bzr-eclipse</artifactId> |
607 | + <artifactId>org.vcs.bazaar.eclipse</artifactId> |
608 | <version>1.1.1-SNAPSHOT</version> |
609 | <packaging>pom</packaging> |
610 | - <scm> |
611 | - <connection>scm:bazaar:lp:bzr-eclipse</connection> |
612 | - <url>http://code.launchpad.net/bzr-eclipse</url> |
613 | - </scm> |
614 | - <issueManagement> |
615 | - <system>Launchpad</system> |
616 | - <url>http://bugs.launchpad.net/bzr-eclipse</url> |
617 | - </issueManagement> |
618 | - <repositories> |
619 | - <repository> |
620 | - <id>verterok-mvn-repo</id> |
621 | - <url>http://verterok.com.ar/maven-repo/</url> |
622 | - </repository> |
623 | - </repositories> |
624 | + <scm> |
625 | + <connection>scm:bazaar:lp:bzr-eclipse</connection> |
626 | + <url>http://code.launchpad.net/bzr-eclipse</url> |
627 | + </scm> |
628 | + <issueManagement> |
629 | + <system>Launchpad</system> |
630 | + <url>http://bugs.launchpad.net/bzr-eclipse</url> |
631 | + </issueManagement> |
632 | + <properties> |
633 | + <bzr-eclipse-version>1.1.1-SNAPSHOT</bzr-eclipse-version> |
634 | + <tycho-version>0.10.0</tycho-version> |
635 | + <platform-version-name>helios</platform-version-name> |
636 | + <eclipse-site>http://download.eclipse.org/releases/${platform-version-name}</eclipse-site> |
637 | + <wikitext-site>http://download.eclipse.org/tools/mylyn/update/weekly</wikitext-site> |
638 | + <swtbot-site>http://download.eclipse.org/technology/swtbot/${platform-version-name}/dev-build/update-site</swtbot-site> |
639 | + <orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/R20110523182458/repository</orbit-site> |
640 | + </properties> |
641 | + |
642 | <modules> |
643 | - <module>org.vcs.bazaar.eclipse.client</module> |
644 | - <module>org.vcs.bazaar.eclipse.core.tests</module> |
645 | <module>org.apache.commons.logging</module> |
646 | <module>org.kxml2</module> |
647 | <module>redstone.xmlrpc</module> |
648 | + <module>org.vcs.bazaar.eclipse.client</module> |
649 | + <module>org.vcs.bazaar.eclipse.core</module> |
650 | + <module>org.vcs.bazaar.eclipse.core.tests</module> |
651 | + <module>org.vcs.bazaar.eclipse.feature</module> |
652 | + <!--module>org.vcs.bazaar.eclipse.tests-feature</module--> |
653 | + <module>org.vcs.bazaar.eclipse.ui</module> |
654 | + <module>org.vcs.bazaar.eclipse.site</module> |
655 | </modules> |
656 | + |
657 | + <repositories> |
658 | + <repository> |
659 | + <id>verterok-mvn-repo</id> |
660 | + <url>http://verterok.com.ar/maven-repo/</url> |
661 | + </repository> |
662 | + <repository> |
663 | + <id>helios</id> |
664 | + <layout>p2</layout> |
665 | + <url>${eclipse-site}</url> |
666 | + </repository> |
667 | + <!--repository> |
668 | + <id>swtbot</id> |
669 | + <layout>p2</layout> |
670 | + <url>${swtbot-site}</url> |
671 | + </repository> |
672 | + <repository> |
673 | + <id>wikitext</id> |
674 | + <layout>p2</layout> |
675 | + <url>${wikitext-site}</url> |
676 | + </repository--> |
677 | + <repository> |
678 | + <id>orbit</id> |
679 | + <layout>p2</layout> |
680 | + <url>${orbit-site}</url> |
681 | + </repository> |
682 | + </repositories> |
683 | + |
684 | + <!--build> |
685 | + <plugins> |
686 | + <plugin> |
687 | + <groupId>org.apache.maven.plugins</groupId> |
688 | + <artifactId>maven-resources-plugin</artifactId> |
689 | + <version>2.4.1</version> |
690 | + <configuration> |
691 | + <encoding>UTF-8</encoding> |
692 | + </configuration> |
693 | + </plugin> |
694 | + < !-plugin> |
695 | + <groupId>org.sonatype.tycho</groupId> |
696 | + <artifactId>maven-osgi-compiler-plugin</artifactId> |
697 | + <version>${tycho-version}</version> |
698 | + <configuration> |
699 | + <encoding>UTF-8</encoding> |
700 | + </configuration> |
701 | + </plugin-> |
702 | + <plugin> |
703 | + <groupId>org.sonatype.tycho</groupId> |
704 | + <artifactId>maven-osgi-lifecycle-plugin</artifactId> |
705 | + <version>1.0-SNAPSHOT</version> |
706 | + <inherited>true</inherited> |
707 | + <extensions>true</extensions> |
708 | + </plugin> |
709 | + </plugins> |
710 | + <pluginManagement> |
711 | + <plugins> |
712 | + <plugin> |
713 | + <groupId>org.sonatype.tycho</groupId> |
714 | + <artifactId>maven-osgi-packaging-plugin</artifactId> |
715 | + <executions> |
716 | + <execution> |
717 | + <id>timestamp</id> |
718 | + <phase>validate</phase> |
719 | + <goals> |
720 | + <goal>timestamp</goal> |
721 | + </goals> |
722 | + </execution> |
723 | + </executions> |
724 | + </plugin> |
725 | + </plugins--> |
726 | + <build> |
727 | + <plugins> |
728 | + <plugin> |
729 | + <groupId>org.sonatype.tycho</groupId> |
730 | + <artifactId>tycho-maven-plugin</artifactId> |
731 | + <version>${tycho-version}</version> |
732 | + <extensions>true</extensions> |
733 | + </plugin> |
734 | + <plugin> |
735 | + <groupId>org.sonatype.tycho</groupId> |
736 | + <artifactId>target-platform-configuration</artifactId> |
737 | + <version>${tycho-version}</version> |
738 | + <configuration> |
739 | + <resolver>p2</resolver> |
740 | + </configuration> |
741 | + </plugin> |
742 | + </plugins> |
743 | + <pluginManagement> |
744 | + <plugins> |
745 | + <plugin> |
746 | + <groupId>org.sonatype.tycho</groupId> |
747 | + <artifactId>maven-osgi-compiler-plugin</artifactId> |
748 | + <version>${tycho-version}</version> |
749 | + <configuration> |
750 | + <encoding>UTF-8</encoding> |
751 | + </configuration> |
752 | + </plugin> |
753 | + <plugin> |
754 | + <!-- TODO remove workaround when |
755 | + https://issues.sonatype.org/browse/TYCHO-473 |
756 | + is fixed --> |
757 | + <groupId>org.sonatype.tycho</groupId> |
758 | + <artifactId>maven-osgi-source-plugin</artifactId> |
759 | + <version>${tycho-version}</version> |
760 | + <executions> |
761 | + <execution> |
762 | + <id>attach-source</id> |
763 | + <phase>process-classes</phase> |
764 | + <goals> |
765 | + <goal>plugin-source</goal> |
766 | + </goals> |
767 | + </execution> |
768 | + </executions> |
769 | + </plugin> |
770 | + </plugins> |
771 | + </pluginManagement> |
772 | + </build> |
773 | </project> |
774 | |
775 | === modified file 'redstone.xmlrpc/pom.xml' |
776 | --- redstone.xmlrpc/pom.xml 2009-11-15 05:46:21 +0000 |
777 | +++ redstone.xmlrpc/pom.xml 2011-07-20 00:07:30 +0000 |
778 | @@ -2,14 +2,15 @@ |
779 | <project> |
780 | <modelVersion>4.0.0</modelVersion> |
781 | <parent> |
782 | - <artifactId>bzr-eclipse</artifactId> |
783 | <groupId>org.vcs.bazaar.eclipse</groupId> |
784 | + <artifactId>org.vcs.bazaar.eclipse</artifactId> |
785 | <version>1.1.1-SNAPSHOT</version> |
786 | + <relativePath>../pom.xml</relativePath> |
787 | </parent> |
788 | <groupId>redstone.xmlrpc</groupId> |
789 | <artifactId>redstone.xmlrpc</artifactId> |
790 | - <version>1.1.1-r35</version> |
791 | - <packaging>pom</packaging> |
792 | + <version>1.1.1.35</version> |
793 | + <packaging>eclipse-plugin</packaging> |
794 | <dependencies> |
795 | <dependency> |
796 | <groupId>redstone</groupId> |
Hi Geoff,
I requested a review for this, as it changes the dependencies :)
(Let me know if you can't review it)
In order to test it you need to get maven 3.0.x, and run: mvn-3 clean compile integration-test bazaar. eclipse. core.tests.
That should build it and run the unittests in org.vcs.
Cheers,