-
Notifications
You must be signed in to change notification settings - Fork 33
Move to Maven/Tycho for projects and build infrastructure #499
Comments
I started working on that in my fork, this branch https://github.com/LorenzoBettini/xtext-lib/tree/lb_499_maven_tycho |
@cdietrich do you know if |
no, i have zero clue. can you check what it is used for? |
It's used in <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="generate" type="Maven">
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava-testlib</artifactId>
<version>30.1-jre</version>
<type>jar</type>
</dependency>
</dependencies>
<instructions><![CDATA[
Bundle-Name: Bundle derived from maven artifact ${mvnGroupId}:${mvnArtifactId}:${mvnVersion}
version: ${version_cleanup;${mvnVersion}}
Bundle-SymbolicName: ${mvnGroupId}.${mvnArtifactId}
Bundle-Version: ${version}
Import-Package: *;resolution:=optional
Export-Package: *;version="${version}";-noimport:=true
DynamicImport-Package: *
]]></instructions>
</location> |
i assume which of the collections asserts therein are actually used and if we can replace it with something else |
import com.google.common.collect.testing.MapTestSuiteBuilder;
import com.google.common.collect.testing.TestStringMapGenerator;
import com.google.common.collect.testing.features.CollectionFeature;
import com.google.common.collect.testing.features.CollectionSize;
import com.google.common.collect.testing.features.MapFeature; in |
ok, then i guess we can try if maven dep works |
It's also used extensively in the test suites (I seem to understand that it executes tests in that very dependency). |
@cdietrich some updates: I still have to deal with gwt. Everything else builds and tests are green! |
@cdietrich concerning GWT: I have no idea of what to do with those projects (I seem to recall what GWT is but I have only a very primordial idea)... |
am not sure if we want to keep it or not |
I mean: I can try to create the packages but I have no idea of how they should look like (of course there are tests and I can run them). Moreover, there's dependency in the gradle file |
you need to check the binary files i guess |
maybe https://github.com/eclipse/xtext/tree/v2.10.0/plugins/org.eclipse.xtend.lib.gwt can also help to archeologize |
yes, that put me on the right track. |
@cdietrich as I said in my previous comment, everything compiles, builds and tests are green (including gwt). I seem to understand that gwt stuff must NOT be in the update site, am I right? Currently, there are still two features for gwt to be included in the p2 repository. |
yes it looks like they are published to maven only |
@cdietrich yes, we use |
ok, so as soon as @LorenzoBettini moves this to our jenkins we will have a maven repo to test |
@cdietrich @mbudnick I've just pushed my branch and Jenkins built it successfully (I'll create a PR in a minute). That's the generated Maven repository generated from my branch: https://ci.eclipse.org/xtext/job/xtext-lib/job/lb_499_maven_tycho/lastSuccessfulBuild/artifact/build/maven-repository/ |
My gwt-app has no problem with 2.30.0-SNAPSHOT. |
done |
Similar to eclipse/xtext-core#2052
The text was updated successfully, but these errors were encountered: