Skip to content

Commit

Permalink
fixed baselining issues
Browse files Browse the repository at this point in the history
Signed-off-by: Juergen Albert <[email protected]>
  • Loading branch information
juergen-albert committed Mar 14, 2024
1 parent 34ae604 commit 8f578a3
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 16 deletions.
2 changes: 1 addition & 1 deletion cnf/central.mvn
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ org.osgi:osgi.annotation:8.1.0
org.slf4j:slf4j-simple:1.7.36
org.slf4j:slf4j-api:1.7.36

org.geckoprojects.bnd:org.gecko.bnd.dimc.library:1.4.4
org.geckoprojects.bnd:org.gecko.bnd.jacoco.library:1.4.4
org.geckoprojects.bnd:org.gecko.bnd.osgitest.library:1.4.4
org.eclipse.platform:org.eclipse.core.contenttype:3.9.100
Expand All @@ -97,3 +96,4 @@ org.eclipse.platform:org.eclipse.equinox.supplement:1.10.700
org.eclipse.jdt:org.eclipse.jdt.core:3.26.0
org.eclipse.platform:org.eclipse.osgi:3.18.500
org.eclipse.platform:org.eclipse.text:3.13.100
org.geckoprojects.bnd:org.gecko.bnd.dimc.library:1.4.6
2 changes: 1 addition & 1 deletion cnf/ext/version.bnd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
base-version: 6.1.3
base-version: 6.1.4
3 changes: 1 addition & 2 deletions org.gecko.emf.osgi.codegen/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ src=${^src}

-includeresource.resource: \
/=resources,\
templates,\
{resources/version.properties}
templates

-privatepackage.add: \
org.eclipse.core.runtime;-split-package:=merge-first,\
Expand Down
1 change: 0 additions & 1 deletion org.gecko.emf.osgi.codegen/resources/version.properties

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.Properties;
import java.util.concurrent.atomic.AtomicBoolean;

import org.eclipse.core.runtime.IProgressMonitor;
Expand Down Expand Up @@ -131,12 +130,7 @@ public Optional<String> generate(
initializeLog(context.getBase(), context.get(PROP_LOGFILE));
}

Properties props = new Properties();
props.load(getClass().getResourceAsStream("/version.properties"));

String version = props.getProperty("version");

info("Running Gecko EMF Codegen Version " + version);
info("Running Gecko EMF Codegen Version " + VersionConstant.GECKOPROJECTS_EMF_VERSION);

String genFolder = context.get(PROP_OUTPUT);
File output = null;
Expand Down
2 changes: 1 addition & 1 deletion org.gecko.emf.osgi.itest.minimal/.project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.gecko.emf.osgi.itest</name>
<name>org.gecko.emf.osgi.itest.minimal</name>
<comment></comment>
<projects>
</projects>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
*/
public class VersionConstant {

public static final String GECKOPROJECTS_EMF_VERSION = "6.1.2"; //$NON-NLS-1$
public static final String GECKOPROJECTS_EMF_VERSION = "6.1.4"; //$NON-NLS-1$
public static final String GECKOPROJECTS_EMF_MAJOR_VERSION = "6"; //$NON-NLS-1$
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
* Contributors:
* Data In Motion - initial API and implementation
*/
@org.osgi.annotation.versioning.Version("6.0.4")
@org.osgi.annotation.versioning.Version("6.0.5")
package org.gecko.emf.osgi.components.config;
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
* @author mark
* @since 15.12.2023
*/
@org.osgi.annotation.versioning.Version("1.0.4")
@org.osgi.annotation.versioning.Version("1.0.5")
package org.gecko.emf.osgi.constants;

0 comments on commit 8f578a3

Please sign in to comment.