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 | 9 | *.jar | 9 | *.jar |
6 | 10 | org.vcs.bazaar.eclipse.core.tests/bin | 10 | org.vcs.bazaar.eclipse.core.tests/bin |
7 | 11 | org.vcs.bazaar.eclipse.client/plugins/* | 11 | org.vcs.bazaar.eclipse.client/plugins/* |
8 | 12 | org.apache.commons.logging/target | ||
9 | 13 | org.kxml2/target | ||
10 | 14 | org.vcs.bazaar.eclipse.client/target | ||
11 | 15 | org.vcs.bazaar.eclipse.core/target | ||
12 | 16 | org.vcs.bazaar.eclipse.core.tests/target | ||
13 | 17 | org.vcs.bazaar.eclipse.feature/target | ||
14 | 18 | org.vcs.bazaar.eclipse.site/target | ||
15 | 19 | org.vcs.bazaar.eclipse.tests-feature/target | ||
16 | 20 | org.vcs.bazaar.eclipse.ui/target | ||
17 | 21 | redstone.xmlrpc/target | ||
18 | 12 | 22 | ||
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 | 1 | Requirements: | 1 | Requirements: |
24 | 2 | * Eclipse SDK >= 3.3 (get it [http://eclipse.org/downloads here]) | 2 | * Eclipse SDK >= 3.3 (get it [http://eclipse.org/downloads here]) |
25 | 3 | * Java 1.5 (5.0) but should run with 1.6 (get it [http://java.sun.com/javase/downloads/index.jsp here]) | 3 | * Java 1.5 (5.0) but should run with 1.6 (get it [http://java.sun.com/javase/downloads/index.jsp here]) |
29 | 4 | * bzr-xmloutput >= 0.8.5 | 4 | * bzr-xmloutput >= 0.8.7 |
30 | 5 | * bazaar >= 1.18 recommended | 5 | * bazaar >= 2.x recommended |
31 | 6 | * maven (2.2.0 recommended) | 6 | * maven 3.0.x (a.k.a tycho) |
32 | 7 | 7 | ||
33 | 8 | Recomended: | 8 | Recomended: |
34 | 9 | * ~1 GB of RAM, to comfortably run in debug mode or directly from the source (more on this later) | 9 | * ~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 | 11 | 1) Get the source code from https://launchpad.net/bzr-eclipse | 11 | 1) Get the source code from https://launchpad.net/bzr-eclipse |
37 | 12 | bzr branch lp:bzr-eclipse | 12 | bzr branch lp:bzr-eclipse |
38 | 13 | 13 | ||
40 | 14 | 1.1) run: mvn compile to get bzr-java-lib and it dependencies in place | 14 | 1.1) run: 'mvn compile integration-tests' to get bzr-java-lib and it dependencies in place and run the tests. |
41 | 15 | 15 | ||
42 | 16 | 2) Launch Eclipse | 16 | 2) Launch Eclipse |
43 | 17 | 2.1) File--> Import --> "Existing project into workspace" | 17 | 2.1) File--> Import --> "Existing project into workspace" |
44 | 18 | 18 | ||
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 | 10 | 10 | ||
50 | 11 | Dependencies | 11 | Dependencies |
51 | 12 | ------------ | 12 | ------------ |
53 | 13 | * bazaar >= 1.18 recommended | 13 | * bazaar >= 2.x recommended |
54 | 14 | * Java SDK/JRE >=1.5 | 14 | * Java SDK/JRE >=1.5 |
55 | 15 | * Eclipse >= 3.3 | 15 | * Eclipse >= 3.3 |
56 | 16 | 16 | ||
57 | 17 | 17 | ||
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 | 2 | <project> | 2 | <project> |
63 | 3 | <modelVersion>4.0.0</modelVersion> | 3 | <modelVersion>4.0.0</modelVersion> |
64 | 4 | <parent> | 4 | <parent> |
65 | 5 | <artifactId>bzr-eclipse</artifactId> | ||
66 | 6 | <groupId>org.vcs.bazaar.eclipse</groupId> | 5 | <groupId>org.vcs.bazaar.eclipse</groupId> |
67 | 6 | <artifactId>org.vcs.bazaar.eclipse</artifactId> | ||
68 | 7 | <version>1.1.1-SNAPSHOT</version> | 7 | <version>1.1.1-SNAPSHOT</version> |
69 | 8 | <relativePath>../pom.xml</relativePath> | ||
70 | 8 | </parent> | 9 | </parent> |
71 | 9 | <groupId>org.apache.commons.logging</groupId> | 10 | <groupId>org.apache.commons.logging</groupId> |
72 | 10 | <artifactId>org.apache.commons.logging</artifactId> | 11 | <artifactId>org.apache.commons.logging</artifactId> |
73 | 11 | <version>1.1.1</version> | 12 | <version>1.1.1</version> |
75 | 12 | <packaging>pom</packaging> | 13 | <packaging>eclipse-plugin</packaging> |
76 | 13 | <dependencies> | 14 | <dependencies> |
77 | 14 | <dependency> | 15 | <dependency> |
78 | 15 | <groupId>commons-logging</groupId> | 16 | <groupId>commons-logging</groupId> |
79 | 16 | 17 | ||
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 | 2 | <project> | 2 | <project> |
85 | 3 | <modelVersion>4.0.0</modelVersion> | 3 | <modelVersion>4.0.0</modelVersion> |
86 | 4 | <parent> | 4 | <parent> |
87 | 5 | <artifactId>bzr-eclipse</artifactId> | ||
88 | 6 | <groupId>org.vcs.bazaar.eclipse</groupId> | 5 | <groupId>org.vcs.bazaar.eclipse</groupId> |
89 | 6 | <artifactId>org.vcs.bazaar.eclipse</artifactId> | ||
90 | 7 | <version>1.1.1-SNAPSHOT</version> | 7 | <version>1.1.1-SNAPSHOT</version> |
91 | 8 | <relativePath>../pom.xml</relativePath> | ||
92 | 8 | </parent> | 9 | </parent> |
93 | 9 | <groupId>org.kxml2</groupId> | 10 | <groupId>org.kxml2</groupId> |
94 | 10 | <artifactId>org.kxml2</artifactId> | 11 | <artifactId>org.kxml2</artifactId> |
95 | 11 | <version>2.3.0</version> | 12 | <version>2.3.0</version> |
97 | 12 | <packaging>pom</packaging> | 13 | <packaging>eclipse-plugin</packaging> |
98 | 13 | <dependencies> | 14 | <dependencies> |
99 | 14 | <dependency> | 15 | <dependency> |
100 | 15 | <groupId>kxml2</groupId> | 16 | <groupId>kxml2</groupId> |
101 | 16 | 17 | ||
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 | 2 | <project> | 2 | <project> |
107 | 3 | <modelVersion>4.0.0</modelVersion> | 3 | <modelVersion>4.0.0</modelVersion> |
108 | 4 | <parent> | 4 | <parent> |
109 | 5 | <artifactId>bzr-eclipse</artifactId> | ||
110 | 6 | <groupId>org.vcs.bazaar.eclipse</groupId> | 5 | <groupId>org.vcs.bazaar.eclipse</groupId> |
111 | 6 | <artifactId>org.vcs.bazaar.eclipse</artifactId> | ||
112 | 7 | <version>1.1.1-SNAPSHOT</version> | 7 | <version>1.1.1-SNAPSHOT</version> |
113 | 8 | <relativePath>../pom.xml</relativePath> | ||
114 | 8 | </parent> | 9 | </parent> |
116 | 9 | <groupId>org.vcs.bazaar.eclipse</groupId> | 10 | <groupId>org.vcs.bazaar.eclipse.client</groupId> |
117 | 10 | <artifactId>org.vcs.bazaar.eclipse.client</artifactId> | 11 | <artifactId>org.vcs.bazaar.eclipse.client</artifactId> |
120 | 11 | <version>0.5.3.qualifier</version> | 12 | <version>0.5.3</version> |
121 | 12 | <packaging>pom</packaging> | 13 | <packaging>eclipse-plugin</packaging> |
122 | 13 | <dependencies> | 14 | <dependencies> |
123 | 14 | <dependency> | 15 | <dependency> |
124 | 15 | <groupId>org.vcs.bazaar.client</groupId> | 16 | <groupId>org.vcs.bazaar.client</groupId> |
125 | @@ -28,13 +29,22 @@ | |||
126 | 28 | <id>copy-dependencies</id> | 29 | <id>copy-dependencies</id> |
127 | 29 | <phase>compile</phase> | 30 | <phase>compile</phase> |
128 | 30 | <goals> | 31 | <goals> |
130 | 31 | <goal>copy-dependencies</goal> | 32 | <goal>copy</goal> |
131 | 32 | </goals> | 33 | </goals> |
132 | 33 | <configuration> | 34 | <configuration> |
133 | 35 | <artifactItems> | ||
134 | 36 | <artifactItem> | ||
135 | 37 | <groupId>org.vcs.bazaar.client</groupId> | ||
136 | 38 | <artifactId>bzr-java-lib</artifactId> | ||
137 | 39 | <type>jar</type> | ||
138 | 40 | <overWrite>false</overWrite> | ||
139 | 41 | </artifactItem> | ||
140 | 42 | </artifactItems> | ||
141 | 34 | <excludeArtifactIds>kxml2-min,xmlrpc-client,commons-logging</excludeArtifactIds> | 43 | <excludeArtifactIds>kxml2-min,xmlrpc-client,commons-logging</excludeArtifactIds> |
144 | 35 | <overWriteReleases>true</overWriteReleases> | 44 | <overWriteReleases>false</overWriteReleases> |
145 | 36 | <overWriteSnapshots>true</overWriteSnapshots> | 45 | <overWriteSnapshots>false</overWriteSnapshots> |
146 | 37 | <overWriteIfNewer>true</overWriteIfNewer> | 46 | <overWriteIfNewer>true</overWriteIfNewer> |
147 | 47 | <excludeTransitive>true</excludeTransitive> | ||
148 | 38 | <outputDirectory>${basedir}</outputDirectory> | 48 | <outputDirectory>${basedir}</outputDirectory> |
149 | 39 | </configuration> | 49 | </configuration> |
150 | 40 | </execution> | 50 | </execution> |
151 | 41 | 51 | ||
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 | 2 | <project> | 2 | <project> |
157 | 3 | <modelVersion>4.0.0</modelVersion> | 3 | <modelVersion>4.0.0</modelVersion> |
158 | 4 | <parent> | 4 | <parent> |
159 | 5 | <artifactId>bzr-eclipse</artifactId> | ||
160 | 6 | <groupId>org.vcs.bazaar.eclipse</groupId> | 5 | <groupId>org.vcs.bazaar.eclipse</groupId> |
161 | 6 | <artifactId>org.vcs.bazaar.eclipse</artifactId> | ||
162 | 7 | <version>1.1.1-SNAPSHOT</version> | 7 | <version>1.1.1-SNAPSHOT</version> |
163 | 8 | <relativePath>../pom.xml</relativePath> | ||
164 | 8 | </parent> | 9 | </parent> |
170 | 9 | <groupId>org.vcs.bazaar.eclipse</groupId> | 10 | <groupId>org.vcs.bazaar.eclipse.core.test</groupId> |
171 | 10 | <artifactId>org.vcs.bazaar.eclipse.core.tests</artifactId> | 11 | <artifactId>org.vcs.bazaar.eclipse.core.test</artifactId> |
172 | 11 | <version>1.1.1.qualifier</version> | 12 | <version>${bzr-eclipse-version}</version> |
173 | 12 | <packaging>pom</packaging> | 13 | <packaging>eclipse-test-plugin</packaging> |
174 | 13 | <dependencies> | 14 | <dependencies> |
175 | 14 | <dependency> | 15 | <dependency> |
176 | 15 | <groupId>org.vcs.bazaar.client</groupId> | 16 | <groupId>org.vcs.bazaar.client</groupId> |
177 | 16 | <artifactId>bzr-java-lib</artifactId> | 17 | <artifactId>bzr-java-lib</artifactId> |
178 | @@ -19,28 +20,48 @@ | |||
179 | 19 | <scope>compile</scope> | 20 | <scope>compile</scope> |
180 | 20 | </dependency> | 21 | </dependency> |
181 | 21 | </dependencies> | 22 | </dependencies> |
182 | 23 | |||
183 | 22 | <build> | 24 | <build> |
206 | 23 | <plugins> | 25 | <plugins> |
207 | 24 | <plugin> | 26 | <plugin> |
208 | 25 | <groupId>org.apache.maven.plugins</groupId> | 27 | <groupId>org.apache.maven.plugins</groupId> |
209 | 26 | <artifactId>maven-dependency-plugin</artifactId> | 28 | <artifactId>maven-dependency-plugin</artifactId> |
210 | 27 | <executions> | 29 | <executions> |
211 | 28 | <execution> | 30 | <execution> |
212 | 29 | <id>copy-dependencies</id> | 31 | <id>copy-dependencies</id> |
213 | 30 | <phase>compile</phase> | 32 | <phase>generate-sources</phase> |
214 | 31 | <goals> | 33 | <goals> |
215 | 32 | <goal>copy-dependencies</goal> | 34 | <goal>copy</goal> |
216 | 33 | </goals> | 35 | </goals> |
217 | 34 | <configuration> | 36 | <configuration> |
218 | 35 | <excludeArtifactIds>kxml2-min,xmlrpc,xmlrpc-client,commons-logging</excludeArtifactIds> | 37 | <artifactItems> |
219 | 36 | <overWriteReleases>true</overWriteReleases> | 38 | <artifactItem> |
220 | 37 | <overWriteSnapshots>true</overWriteSnapshots> | 39 | <groupId>org.vcs.bazaar.client</groupId> |
221 | 38 | <overWriteIfNewer>true</overWriteIfNewer> | 40 | <artifactId>bzr-java-lib</artifactId> |
222 | 39 | <outputDirectory>${basedir}</outputDirectory> | 41 | <classifier>tests</classifier> |
223 | 40 | </configuration> | 42 | <type>jar</type> |
224 | 41 | </execution> | 43 | <overWrite>false</overWrite> |
225 | 42 | </executions> | 44 | </artifactItem> |
226 | 43 | </plugin> | 45 | </artifactItems> |
227 | 44 | </plugins> | 46 | <excludeArtifactIds>kxml2-min,xmlrpc-client,commons-logging</excludeArtifactIds> |
228 | 47 | <overWriteReleases>false</overWriteReleases> | ||
229 | 48 | <overWriteSnapshots>false</overWriteSnapshots> | ||
230 | 49 | <overWriteIfNewer>true</overWriteIfNewer> | ||
231 | 50 | <excludeTransitive>true</excludeTransitive> | ||
232 | 51 | <outputDirectory>${basedir}</outputDirectory> | ||
233 | 52 | </configuration> | ||
234 | 53 | </execution> | ||
235 | 54 | </executions> | ||
236 | 55 | </plugin> | ||
237 | 56 | <plugin> | ||
238 | 57 | <groupId>org.sonatype.tycho</groupId> | ||
239 | 58 | <artifactId>maven-osgi-test-plugin</artifactId> | ||
240 | 59 | <configuration> | ||
241 | 60 | <explodedBundles> | ||
242 | 61 | <bundle>org.vcs.bazaar.eclipse.client</bundle> | ||
243 | 62 | </explodedBundles> | ||
244 | 63 | </configuration> | ||
245 | 64 | </plugin> | ||
246 | 65 | </plugins> | ||
247 | 45 | </build> | 66 | </build> |
248 | 46 | </project> | 67 | </project> |
249 | 47 | 68 | ||
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 | 22 | @BeforeClass | 22 | @BeforeClass |
255 | 23 | public static void initialize() { | 23 | public static void initialize() { |
256 | 24 | final Preferences prefs = EclipseBazaarCore.getDefault().getPluginPreferences(); | 24 | final Preferences prefs = EclipseBazaarCore.getDefault().getPluginPreferences(); |
257 | 25 | prefs.setValue(IBazaarCoreConstants.USE_BUNDLED_PLUGINS, true); | ||
258 | 25 | if(!EclipseBazaarCore.getDefault().isClientAvailable()) { | 26 | if(!EclipseBazaarCore.getDefault().isClientAvailable()) { |
259 | 26 | BazaarUtilities.configureBazaarClient(AbstractCoreTestCase.class, "/tests.properties"); | 27 | BazaarUtilities.configureBazaarClient(AbstractCoreTestCase.class, "/tests.properties"); |
260 | 27 | final BazaarClientPreferences clientPrefs = BazaarClientPreferences.getInstance(); | 28 | final BazaarClientPreferences clientPrefs = BazaarClientPreferences.getInstance(); |
261 | 28 | 29 | ||
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 | 21 | * @author Guillermo Gonzalez <guillo.gonzo@gmail.com> | 21 | * @author Guillermo Gonzalez <guillo.gonzo@gmail.com> |
267 | 22 | * | 22 | * |
268 | 23 | */ | 23 | */ |
270 | 24 | public class TestCaseWithProject extends AbstractCoreTestCase { | 24 | public abstract class TestCaseWithProject extends AbstractCoreTestCase { |
271 | 25 | 25 | ||
272 | 26 | private File testRoot; | ||
273 | 26 | private IProject project; | 27 | private IProject project; |
274 | 27 | private ExpectedWorkingTree wt; | 28 | private ExpectedWorkingTree wt; |
275 | 28 | 29 | ||
276 | @@ -40,10 +41,13 @@ | |||
277 | 40 | return wt; | 41 | return wt; |
278 | 41 | } | 42 | } |
279 | 42 | 43 | ||
280 | 43 | |||
281 | 44 | @Before | 44 | @Before |
282 | 45 | public void setUp() throws Exception { | 45 | public void setUp() throws Exception { |
284 | 46 | project = WorkspaceUtil.createProject(this.getClass().getName()); | 46 | testRoot = File.createTempFile("bzr-eclipse", "test"); |
285 | 47 | testRoot.delete(); | ||
286 | 48 | testRoot.mkdir(); | ||
287 | 49 | project = WorkspaceUtil.createProject(testRoot, this.getClass().getName()); | ||
288 | 50 | System.out.println(); | ||
289 | 47 | wt = createWorkingTree(project.getLocation()); | 51 | wt = createWorkingTree(project.getLocation()); |
290 | 48 | project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor()); | 52 | project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor()); |
291 | 49 | BazaarTeamProvider.map(project, BazaarTeamProvider.ID); | 53 | BazaarTeamProvider.map(project, BazaarTeamProvider.ID); |
292 | @@ -53,6 +57,7 @@ | |||
293 | 53 | public void tearDown() throws Exception { | 57 | public void tearDown() throws Exception { |
294 | 54 | if(project != null) | 58 | if(project != null) |
295 | 55 | project.delete(true, true, new NullProgressMonitor()); | 59 | project.delete(true, true, new NullProgressMonitor()); |
296 | 60 | testRoot.delete(); | ||
297 | 56 | } | 61 | } |
298 | 57 | 62 | ||
299 | 58 | /** | 63 | /** |
300 | 59 | 64 | ||
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 | 1 | package org.vcs.bazaar.eclipse; | 1 | package org.vcs.bazaar.eclipse; |
306 | 2 | 2 | ||
307 | 3 | import java.io.File; | ||
308 | 3 | import java.io.IOException; | 4 | import java.io.IOException; |
309 | 4 | 5 | ||
310 | 5 | import org.eclipse.core.resources.IProject; | 6 | import org.eclipse.core.resources.IProject; |
311 | 7 | import org.eclipse.core.resources.IProjectDescription; | ||
312 | 6 | import org.eclipse.core.resources.IWorkspaceRoot; | 8 | import org.eclipse.core.resources.IWorkspaceRoot; |
313 | 7 | import org.eclipse.core.resources.ResourcesPlugin; | 9 | import org.eclipse.core.resources.ResourcesPlugin; |
314 | 8 | import org.eclipse.core.runtime.CoreException; | 10 | import org.eclipse.core.runtime.CoreException; |
315 | 9 | import org.eclipse.core.runtime.NullProgressMonitor; | 11 | import org.eclipse.core.runtime.NullProgressMonitor; |
316 | 12 | import org.eclipse.core.runtime.Path; | ||
317 | 10 | import org.vcs.bazaar.client.testUtils.ExpectedWorkingTree; | 13 | import org.vcs.bazaar.client.testUtils.ExpectedWorkingTree; |
318 | 11 | 14 | ||
319 | 12 | public class WorkspaceUtil { | 15 | public class WorkspaceUtil { |
320 | 13 | 16 | ||
322 | 14 | public static IProject createProject(String name) throws CoreException { | 17 | public static IProject createProject(File baseDir, String name) throws CoreException { |
323 | 15 | IWorkspaceRoot workspaceRoot = ResourcesPlugin.getWorkspace().getRoot(); | 18 | IWorkspaceRoot workspaceRoot = ResourcesPlugin.getWorkspace().getRoot(); |
324 | 16 | IProject project = workspaceRoot.getProject(name); | 19 | IProject project = workspaceRoot.getProject(name); |
325 | 17 | if(project.exists()) { | 20 | if(project.exists()) { |
326 | 18 | project.delete(true, new NullProgressMonitor()); | 21 | project.delete(true, new NullProgressMonitor()); |
327 | 19 | } | 22 | } |
329 | 20 | project.create(null); | 23 | IProjectDescription desc = ResourcesPlugin.getWorkspace().newProjectDescription(name); |
330 | 24 | desc.setLocation(new Path(baseDir.getAbsolutePath())); | ||
331 | 25 | project.create(desc, new NullProgressMonitor()); | ||
332 | 21 | project.open(null); | 26 | project.open(null); |
333 | 22 | return project; | 27 | return project; |
334 | 23 | } | 28 | } |
335 | 24 | 29 | ||
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 | 25 | IBazaarClient client = this.getClient(); | 25 | IBazaarClient client = this.getClient(); |
341 | 26 | for(IPlugin plugin: client.plugins()) { | 26 | for(IPlugin plugin: client.plugins()) { |
342 | 27 | if(plugin.getName().equals("xmloutput")) { | 27 | if(plugin.getName().equals("xmloutput")) { |
344 | 28 | Assert.assertTrue(plugin.getPath().contains("org.vcs.bazaar.eclipse.client/plugins")); | 28 | Assert.assertTrue(plugin.getPath() + " doesn't contains org.vcs.bazaar.eclipse.client/plugins", |
345 | 29 | plugin.getPath().matches(".*/org.vcs.bazaar.eclipse.client.*/plugins/xmloutput")); | ||
346 | 29 | } | 30 | } |
347 | 30 | } | 31 | } |
348 | 31 | } | 32 | } |
349 | 32 | 33 | ||
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 | 1 | #Wed Mar 14 08:28:52 ART 2007 | ||
355 | 2 | eclipse.preferences.version=1 | ||
356 | 3 | project.repository.kind=trac | ||
357 | 4 | project.repository.url=http\://trac.steppenwolf.selfip.net/BazaarEclipse | ||
358 | 5 | 0 | ||
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 | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
364 | 2 | <project> | ||
365 | 3 | <modelVersion>4.0.0</modelVersion> | ||
366 | 4 | <parent> | ||
367 | 5 | <groupId>org.vcs.bazaar.eclipse</groupId> | ||
368 | 6 | <artifactId>org.vcs.bazaar.eclipse</artifactId> | ||
369 | 7 | <version>1.1.1-SNAPSHOT</version> | ||
370 | 8 | <relativePath>../pom.xml</relativePath> | ||
371 | 9 | </parent> | ||
372 | 10 | <groupId>org.vcs.bazaar.eclipse.core</groupId> | ||
373 | 11 | <artifactId>org.vcs.bazaar.eclipse.core</artifactId> | ||
374 | 12 | <version>${bzr-eclipse-version}</version> | ||
375 | 13 | <packaging>eclipse-plugin</packaging> | ||
376 | 14 | </project> | ||
377 | 0 | 15 | ||
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 @@ | |||
399 | 1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
400 | 2 | <projectDescription> | 2 | <projectDescription> |
401 | 3 | <name>org.vcs.bazaar.eclipse.feature</name> | 3 | <name>org.vcs.bazaar.eclipse.feature</name> |
402 | 4 | <comment></comment> | 4 | <comment></comment> |
403 | 5 | <projects> | 5 | <projects> |
404 | 6 | </projects> | 6 | </projects> |
405 | 7 | <buildSpec> | 7 | <buildSpec> |
406 | 8 | <buildCommand> | 8 | <buildCommand> |
407 | 9 | <name>org.eclipse.pde.FeatureBuilder</name> | 9 | <name>org.eclipse.jdt.core.javabuilder</name> |
408 | 10 | <arguments> | 10 | <arguments> |
409 | 11 | </arguments> | 11 | </arguments> |
410 | 12 | </buildCommand> | 12 | </buildCommand> |
411 | 13 | </buildSpec> | 13 | <buildCommand> |
412 | 14 | <natures> | 14 | <name>org.eclipse.pde.FeatureBuilder</name> |
413 | 15 | <nature>org.eclipse.pde.FeatureNature</nature> | 15 | <arguments> |
414 | 16 | </natures> | 16 | </arguments> |
415 | 17 | </projectDescription> | 17 | </buildCommand> |
416 | 18 | </buildSpec> | ||
417 | 19 | <natures> | ||
418 | 20 | <nature>org.eclipse.jdt.core.javanature</nature> | ||
419 | 21 | <nature>org.eclipse.pde.FeatureNature</nature> | ||
420 | 22 | </natures> | ||
421 | 23 | </projectDescription> | ||
422 | 18 | 24 | ||
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 | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
428 | 2 | <project> | ||
429 | 3 | <modelVersion>4.0.0</modelVersion> | ||
430 | 4 | <parent> | ||
431 | 5 | <groupId>org.vcs.bazaar.eclipse</groupId> | ||
432 | 6 | <artifactId>org.vcs.bazaar.eclipse</artifactId> | ||
433 | 7 | <version>1.1.1-SNAPSHOT</version> | ||
434 | 8 | <relativePath>../pom.xml</relativePath> | ||
435 | 9 | </parent> | ||
436 | 10 | <groupId>org.vcs.bazaar.eclipse.feature</groupId> | ||
437 | 11 | <artifactId>org.vcs.bazaar.eclipse.feature</artifactId> | ||
438 | 12 | <version>${bzr-eclipse-version}</version> | ||
439 | 13 | <packaging>eclipse-feature</packaging> | ||
440 | 14 | </project> | ||
441 | 0 | 15 | ||
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 | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
448 | 2 | <projectDescription> | ||
449 | 3 | <name>org.vcs.bazaar.eclipse.site</name> | ||
450 | 4 | <comment></comment> | ||
451 | 5 | <projects> | ||
452 | 6 | </projects> | ||
453 | 7 | <buildSpec> | ||
454 | 8 | <buildCommand> | ||
455 | 9 | <name>org.eclipse.jdt.core.javabuilder</name> | ||
456 | 10 | <arguments> | ||
457 | 11 | </arguments> | ||
458 | 12 | </buildCommand> | ||
459 | 13 | <buildCommand> | ||
460 | 14 | <name>org.eclipse.pde.UpdateSiteBuilder</name> | ||
461 | 15 | <arguments> | ||
462 | 16 | </arguments> | ||
463 | 17 | </buildCommand> | ||
464 | 18 | </buildSpec> | ||
465 | 19 | <natures> | ||
466 | 20 | <nature>org.eclipse.jdt.core.javanature</nature> | ||
467 | 21 | <nature>org.eclipse.pde.UpdateSiteNature</nature> | ||
468 | 22 | </natures> | ||
469 | 23 | </projectDescription> | ||
470 | 0 | 24 | ||
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 | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
476 | 2 | <project> | ||
477 | 3 | <modelVersion>4.0.0</modelVersion> | ||
478 | 4 | <parent> | ||
479 | 5 | <groupId>org.vcs.bazaar.eclipse</groupId> | ||
480 | 6 | <artifactId>org.vcs.bazaar.eclipse</artifactId> | ||
481 | 7 | <version>1.1.1-SNAPSHOT</version> | ||
482 | 8 | <relativePath>../pom.xml</relativePath> | ||
483 | 9 | </parent> | ||
484 | 10 | <groupId>org.vcs.bazaar.eclipse.site</groupId> | ||
485 | 11 | <artifactId>org.vcs.bazaar.eclipse.site</artifactId> | ||
486 | 12 | <version>${bzr-eclipse-version}</version> | ||
487 | 13 | <packaging>eclipse-update-site</packaging> | ||
488 | 14 | </project> | ||
489 | 0 | 15 | ||
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 | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
495 | 2 | <site> | ||
496 | 3 | <description url="http://verterok.com.ar/bzr-eclipse/update-site/"> | ||
497 | 4 | Update site for the Eclipse plugin for Bazaar | ||
498 | 5 | </description> | ||
499 | 6 | <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 | 7 | <category name="bzr-eclipse (dev snapshot)"/> | ||
501 | 8 | </feature> | ||
502 | 9 | <!--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 | 10 | <category name="bzr-eclipse (dev snapshot)"/> | ||
504 | 11 | </feature--> | ||
505 | 12 | <category-def name="bzr-eclipse (dev snapshot)" label="bzr-eclipse (Eclipse-3.3 dev snapshot)"> | ||
506 | 13 | <description> | ||
507 | 14 | Here you can find snapshots of the current development trunk. | ||
508 | 15 | </description> | ||
509 | 16 | </category-def> | ||
510 | 17 | </site> | ||
511 | 0 | 18 | ||
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 | 6 | </projects> | 6 | </projects> |
517 | 7 | <buildSpec> | 7 | <buildSpec> |
518 | 8 | <buildCommand> | 8 | <buildCommand> |
519 | 9 | <name>org.eclipse.jdt.core.javabuilder</name> | ||
520 | 10 | <arguments> | ||
521 | 11 | </arguments> | ||
522 | 12 | </buildCommand> | ||
523 | 13 | <buildCommand> | ||
524 | 9 | <name>org.eclipse.pde.FeatureBuilder</name> | 14 | <name>org.eclipse.pde.FeatureBuilder</name> |
525 | 10 | <arguments> | 15 | <arguments> |
526 | 11 | </arguments> | 16 | </arguments> |
527 | 12 | </buildCommand> | 17 | </buildCommand> |
528 | 13 | </buildSpec> | 18 | </buildSpec> |
529 | 14 | <natures> | 19 | <natures> |
530 | 20 | <nature>org.eclipse.jdt.core.javanature</nature> | ||
531 | 15 | <nature>org.eclipse.pde.FeatureNature</nature> | 21 | <nature>org.eclipse.pde.FeatureNature</nature> |
532 | 16 | </natures> | 22 | </natures> |
533 | 17 | </projectDescription> | 23 | </projectDescription> |
534 | 18 | 24 | ||
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 | 39 | </requires> | 39 | </requires> |
540 | 40 | 40 | ||
541 | 41 | <plugin | 41 | <plugin |
543 | 42 | id="org.vcs.bazaar.eclipse.core.test" | 42 | id="org.vcs.bazaar.eclipse.core.tests" |
544 | 43 | download-size="0" | 43 | download-size="0" |
545 | 44 | install-size="0" | 44 | install-size="0" |
546 | 45 | version="0.0.0" | 45 | version="0.0.0" |
547 | 46 | 46 | ||
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 | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
553 | 2 | <project> | ||
554 | 3 | <modelVersion>4.0.0</modelVersion> | ||
555 | 4 | <parent> | ||
556 | 5 | <groupId>org.vcs.bazaar.eclipse</groupId> | ||
557 | 6 | <artifactId>org.vcs.bazaar.eclipse</artifactId> | ||
558 | 7 | <version>${currentVersion}</version> | ||
559 | 8 | <relativePath>../pom.xml</relativePath> | ||
560 | 9 | </parent> | ||
561 | 10 | <groupId>org.vcs.bazaar.eclipse.tests-feature</groupId> | ||
562 | 11 | <artifactId>org.vcs.bazaar.eclipse.tests-feature</artifactId> | ||
563 | 12 | <version>1.1.1-SNAPSHOT</version> | ||
564 | 13 | <packaging>eclipse-test-feature</packaging> | ||
565 | 14 | </project> | ||
566 | 0 | 15 | ||
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 | 1 | #Wed Mar 14 09:01:13 ART 2007 | ||
572 | 2 | eclipse.preferences.version=1 | ||
573 | 3 | project.repository.kind=trac | ||
574 | 4 | project.repository.url=http\://trac.steppenwolf.selfip.net/BazaarEclipse | ||
575 | 5 | 0 | ||
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 | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
581 | 2 | <project> | ||
582 | 3 | <modelVersion>4.0.0</modelVersion> | ||
583 | 4 | <parent> | ||
584 | 5 | <groupId>org.vcs.bazaar.eclipse</groupId> | ||
585 | 6 | <artifactId>org.vcs.bazaar.eclipse</artifactId> | ||
586 | 7 | <version>1.1.1-SNAPSHOT</version> | ||
587 | 8 | <relativePath>../pom.xml</relativePath> | ||
588 | 9 | </parent> | ||
589 | 10 | <groupId>org.vcs.bazaar.eclipse.ui</groupId> | ||
590 | 11 | <artifactId>org.vcs.bazaar.eclipse.ui</artifactId> | ||
591 | 12 | <version>${bzr-eclipse-version}</version> | ||
592 | 13 | <packaging>eclipse-plugin</packaging> | ||
593 | 14 | </project> | ||
594 | 0 | 15 | ||
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 | 1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
600 | 2 | <project> | 2 | <project> |
601 | 3 | <modelVersion>4.0.0</modelVersion> | 3 | <modelVersion>4.0.0</modelVersion> |
602 | 4 | <prerequisites> | ||
603 | 5 | <maven>3.0</maven> | ||
604 | 6 | </prerequisites> | ||
605 | 4 | <groupId>org.vcs.bazaar.eclipse</groupId> | 7 | <groupId>org.vcs.bazaar.eclipse</groupId> |
607 | 5 | <artifactId>bzr-eclipse</artifactId> | 8 | <artifactId>org.vcs.bazaar.eclipse</artifactId> |
608 | 6 | <version>1.1.1-SNAPSHOT</version> | 9 | <version>1.1.1-SNAPSHOT</version> |
609 | 7 | <packaging>pom</packaging> | 10 | <packaging>pom</packaging> |
624 | 8 | <scm> | 11 | <scm> |
625 | 9 | <connection>scm:bazaar:lp:bzr-eclipse</connection> | 12 | <connection>scm:bazaar:lp:bzr-eclipse</connection> |
626 | 10 | <url>http://code.launchpad.net/bzr-eclipse</url> | 13 | <url>http://code.launchpad.net/bzr-eclipse</url> |
627 | 11 | </scm> | 14 | </scm> |
628 | 12 | <issueManagement> | 15 | <issueManagement> |
629 | 13 | <system>Launchpad</system> | 16 | <system>Launchpad</system> |
630 | 14 | <url>http://bugs.launchpad.net/bzr-eclipse</url> | 17 | <url>http://bugs.launchpad.net/bzr-eclipse</url> |
631 | 15 | </issueManagement> | 18 | </issueManagement> |
632 | 16 | <repositories> | 19 | <properties> |
633 | 17 | <repository> | 20 | <bzr-eclipse-version>1.1.1-SNAPSHOT</bzr-eclipse-version> |
634 | 18 | <id>verterok-mvn-repo</id> | 21 | <tycho-version>0.10.0</tycho-version> |
635 | 19 | <url>http://verterok.com.ar/maven-repo/</url> | 22 | <platform-version-name>helios</platform-version-name> |
636 | 20 | </repository> | 23 | <eclipse-site>http://download.eclipse.org/releases/${platform-version-name}</eclipse-site> |
637 | 21 | </repositories> | 24 | <wikitext-site>http://download.eclipse.org/tools/mylyn/update/weekly</wikitext-site> |
638 | 25 | <swtbot-site>http://download.eclipse.org/technology/swtbot/${platform-version-name}/dev-build/update-site</swtbot-site> | ||
639 | 26 | <orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/R20110523182458/repository</orbit-site> | ||
640 | 27 | </properties> | ||
641 | 28 | |||
642 | 22 | <modules> | 29 | <modules> |
643 | 23 | <module>org.vcs.bazaar.eclipse.client</module> | ||
644 | 24 | <module>org.vcs.bazaar.eclipse.core.tests</module> | ||
645 | 25 | <module>org.apache.commons.logging</module> | 30 | <module>org.apache.commons.logging</module> |
646 | 26 | <module>org.kxml2</module> | 31 | <module>org.kxml2</module> |
647 | 27 | <module>redstone.xmlrpc</module> | 32 | <module>redstone.xmlrpc</module> |
648 | 33 | <module>org.vcs.bazaar.eclipse.client</module> | ||
649 | 34 | <module>org.vcs.bazaar.eclipse.core</module> | ||
650 | 35 | <module>org.vcs.bazaar.eclipse.core.tests</module> | ||
651 | 36 | <module>org.vcs.bazaar.eclipse.feature</module> | ||
652 | 37 | <!--module>org.vcs.bazaar.eclipse.tests-feature</module--> | ||
653 | 38 | <module>org.vcs.bazaar.eclipse.ui</module> | ||
654 | 39 | <module>org.vcs.bazaar.eclipse.site</module> | ||
655 | 28 | </modules> | 40 | </modules> |
656 | 41 | |||
657 | 42 | <repositories> | ||
658 | 43 | <repository> | ||
659 | 44 | <id>verterok-mvn-repo</id> | ||
660 | 45 | <url>http://verterok.com.ar/maven-repo/</url> | ||
661 | 46 | </repository> | ||
662 | 47 | <repository> | ||
663 | 48 | <id>helios</id> | ||
664 | 49 | <layout>p2</layout> | ||
665 | 50 | <url>${eclipse-site}</url> | ||
666 | 51 | </repository> | ||
667 | 52 | <!--repository> | ||
668 | 53 | <id>swtbot</id> | ||
669 | 54 | <layout>p2</layout> | ||
670 | 55 | <url>${swtbot-site}</url> | ||
671 | 56 | </repository> | ||
672 | 57 | <repository> | ||
673 | 58 | <id>wikitext</id> | ||
674 | 59 | <layout>p2</layout> | ||
675 | 60 | <url>${wikitext-site}</url> | ||
676 | 61 | </repository--> | ||
677 | 62 | <repository> | ||
678 | 63 | <id>orbit</id> | ||
679 | 64 | <layout>p2</layout> | ||
680 | 65 | <url>${orbit-site}</url> | ||
681 | 66 | </repository> | ||
682 | 67 | </repositories> | ||
683 | 68 | |||
684 | 69 | <!--build> | ||
685 | 70 | <plugins> | ||
686 | 71 | <plugin> | ||
687 | 72 | <groupId>org.apache.maven.plugins</groupId> | ||
688 | 73 | <artifactId>maven-resources-plugin</artifactId> | ||
689 | 74 | <version>2.4.1</version> | ||
690 | 75 | <configuration> | ||
691 | 76 | <encoding>UTF-8</encoding> | ||
692 | 77 | </configuration> | ||
693 | 78 | </plugin> | ||
694 | 79 | < !-plugin> | ||
695 | 80 | <groupId>org.sonatype.tycho</groupId> | ||
696 | 81 | <artifactId>maven-osgi-compiler-plugin</artifactId> | ||
697 | 82 | <version>${tycho-version}</version> | ||
698 | 83 | <configuration> | ||
699 | 84 | <encoding>UTF-8</encoding> | ||
700 | 85 | </configuration> | ||
701 | 86 | </plugin-> | ||
702 | 87 | <plugin> | ||
703 | 88 | <groupId>org.sonatype.tycho</groupId> | ||
704 | 89 | <artifactId>maven-osgi-lifecycle-plugin</artifactId> | ||
705 | 90 | <version>1.0-SNAPSHOT</version> | ||
706 | 91 | <inherited>true</inherited> | ||
707 | 92 | <extensions>true</extensions> | ||
708 | 93 | </plugin> | ||
709 | 94 | </plugins> | ||
710 | 95 | <pluginManagement> | ||
711 | 96 | <plugins> | ||
712 | 97 | <plugin> | ||
713 | 98 | <groupId>org.sonatype.tycho</groupId> | ||
714 | 99 | <artifactId>maven-osgi-packaging-plugin</artifactId> | ||
715 | 100 | <executions> | ||
716 | 101 | <execution> | ||
717 | 102 | <id>timestamp</id> | ||
718 | 103 | <phase>validate</phase> | ||
719 | 104 | <goals> | ||
720 | 105 | <goal>timestamp</goal> | ||
721 | 106 | </goals> | ||
722 | 107 | </execution> | ||
723 | 108 | </executions> | ||
724 | 109 | </plugin> | ||
725 | 110 | </plugins--> | ||
726 | 111 | <build> | ||
727 | 112 | <plugins> | ||
728 | 113 | <plugin> | ||
729 | 114 | <groupId>org.sonatype.tycho</groupId> | ||
730 | 115 | <artifactId>tycho-maven-plugin</artifactId> | ||
731 | 116 | <version>${tycho-version}</version> | ||
732 | 117 | <extensions>true</extensions> | ||
733 | 118 | </plugin> | ||
734 | 119 | <plugin> | ||
735 | 120 | <groupId>org.sonatype.tycho</groupId> | ||
736 | 121 | <artifactId>target-platform-configuration</artifactId> | ||
737 | 122 | <version>${tycho-version}</version> | ||
738 | 123 | <configuration> | ||
739 | 124 | <resolver>p2</resolver> | ||
740 | 125 | </configuration> | ||
741 | 126 | </plugin> | ||
742 | 127 | </plugins> | ||
743 | 128 | <pluginManagement> | ||
744 | 129 | <plugins> | ||
745 | 130 | <plugin> | ||
746 | 131 | <groupId>org.sonatype.tycho</groupId> | ||
747 | 132 | <artifactId>maven-osgi-compiler-plugin</artifactId> | ||
748 | 133 | <version>${tycho-version}</version> | ||
749 | 134 | <configuration> | ||
750 | 135 | <encoding>UTF-8</encoding> | ||
751 | 136 | </configuration> | ||
752 | 137 | </plugin> | ||
753 | 138 | <plugin> | ||
754 | 139 | <!-- TODO remove workaround when | ||
755 | 140 | https://issues.sonatype.org/browse/TYCHO-473 | ||
756 | 141 | is fixed --> | ||
757 | 142 | <groupId>org.sonatype.tycho</groupId> | ||
758 | 143 | <artifactId>maven-osgi-source-plugin</artifactId> | ||
759 | 144 | <version>${tycho-version}</version> | ||
760 | 145 | <executions> | ||
761 | 146 | <execution> | ||
762 | 147 | <id>attach-source</id> | ||
763 | 148 | <phase>process-classes</phase> | ||
764 | 149 | <goals> | ||
765 | 150 | <goal>plugin-source</goal> | ||
766 | 151 | </goals> | ||
767 | 152 | </execution> | ||
768 | 153 | </executions> | ||
769 | 154 | </plugin> | ||
770 | 155 | </plugins> | ||
771 | 156 | </pluginManagement> | ||
772 | 157 | </build> | ||
773 | 29 | </project> | 158 | </project> |
774 | 30 | 159 | ||
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 | 2 | <project> | 2 | <project> |
780 | 3 | <modelVersion>4.0.0</modelVersion> | 3 | <modelVersion>4.0.0</modelVersion> |
781 | 4 | <parent> | 4 | <parent> |
782 | 5 | <artifactId>bzr-eclipse</artifactId> | ||
783 | 6 | <groupId>org.vcs.bazaar.eclipse</groupId> | 5 | <groupId>org.vcs.bazaar.eclipse</groupId> |
784 | 6 | <artifactId>org.vcs.bazaar.eclipse</artifactId> | ||
785 | 7 | <version>1.1.1-SNAPSHOT</version> | 7 | <version>1.1.1-SNAPSHOT</version> |
786 | 8 | <relativePath>../pom.xml</relativePath> | ||
787 | 8 | </parent> | 9 | </parent> |
788 | 9 | <groupId>redstone.xmlrpc</groupId> | 10 | <groupId>redstone.xmlrpc</groupId> |
789 | 10 | <artifactId>redstone.xmlrpc</artifactId> | 11 | <artifactId>redstone.xmlrpc</artifactId> |
792 | 11 | <version>1.1.1-r35</version> | 12 | <version>1.1.1.35</version> |
793 | 12 | <packaging>pom</packaging> | 13 | <packaging>eclipse-plugin</packaging> |
794 | 13 | <dependencies> | 14 | <dependencies> |
795 | 14 | <dependency> | 15 | <dependency> |
796 | 15 | <groupId>redstone</groupId> | 16 | <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,