Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include ELPH within the bnd repo #6143

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions org.bndtools.elph/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry exported="true" kind="lib" path="lib/biz.aQute.bnd-6.4.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/commons-collections4-4.4.jar"/>
<classpathentry exported="true" kind="lib" path="lib/commons-lang3-3.8.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jgrapht-core-1.5.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jheaps-0.13.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
7 changes: 7 additions & 0 deletions org.bndtools.elph/.mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<extensions>
<extension>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-build</artifactId>
<version>4.0.5</version>
</extension>
</extensions>
28 changes: 28 additions & 0 deletions org.bndtools.elph/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.bndtools.elph</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
18 changes: 18 additions & 0 deletions org.bndtools.elph/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: ELPH Importer Plugin
Bundle-SymbolicName: org.bndtools.elph;singleton:=true
Bundle-Version: 1.0.8.beta
Require-Bundle: system.bundle,
org.eclipse.ui;bundle-version="[3.0.0,4.0.0)",
org.eclipse.core.resources;bundle-version="[3.0.0,4.0.0)",
org.eclipse.core.runtime;bundle-version="[3.0.0,4.0.0)"
Bundle-Vendor: Bndtools https://bndtools.org/
Automatic-Module-Name: org.bndtools.elph.importer
Bundle-ClassPath: lib/jgrapht-core-1.5.1.jar,
lib/jheaps-0.13.jar,
.,
lib/commons-collections4-4.4.jar,
lib/commons-lang3-3.8.jar,
lib/biz.aQute.bnd-6.4.1.jar
Bundle-RequiredExecutionEnvironment: JavaSE-17
1 change: 1 addition & 0 deletions org.bndtools.elph/bin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/org/
40 changes: 40 additions & 0 deletions org.bndtools.elph/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/*
* Copyright (c) 2021,2023 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*/
plugins {
id 'java'
}


repositories {
mavenCentral()
}

group 'do.not.use'
version '1.0-DO_NOT_USE'


dependencies {
implementation 'org.jgrapht:jgrapht-core:1.5.1'
implementation 'org.apache.commons:commons-collections4:4.4'
implementation 'org.apache.commons:commons-lang3:3.8'
implementation 'biz.aQute.bnd:biz.aQute.bnd:6.4.1'
}

task copyLibs(type: Copy) {
into "lib"
from configurations.implementation
}

// Make the implementation configuration "resolvable" so copyLibs can use it
configurations.implementation.canBeResolved = true
clean.delete "lib"
10 changes: 10 additions & 0 deletions org.bndtools.elph/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.,\
plugin.xml,\
lib/jgrapht-core-1.5.1.jar,\
lib/jheaps-0.13.jar,\
lib/commons-collections4-4.4.jar,\
lib/commons-lang3-3.8.jar,\
lib/biz.aQute.bnd-6.4.1.jar
Binary file added org.bndtools.elph/img/OL_logomark_400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions org.bndtools.elph/plugin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.importWizards">
<category
id="org.bndtools.elph"
name="Elph">
</category>
<wizard
category="org.bndtools.elph"
class="org.bndtools.elph.importer.ImportLibertyProjectsWizard"
icon="img/OL_logomark_400.png"
id="org.bndtools.elph.importer.wizard"
name="Import Liberty Projects">
</wizard>
</extension>

</plugin>
81 changes: 81 additions & 0 deletions org.bndtools.elph/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.vogella.tycho</groupId>
<artifactId>releng</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>

<properties>
<tycho.version>4.0.5</tycho.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
</plugin>
</plugins>
</pluginManagement>

<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho.version}</version>
<extensions>true</extensions>
</plugin>
<!--Enable the replacement of the SNAPSHOT version in the final product configuration-->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<phase>package</phase>
<id>package-feature</id>
<configuration>
<finalName>${project.artifactId}_${unqualifiedVersion}.${buildQualifier}</finalName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<!-- Optional set the Java version you are using-->
<executionEnvironment>JavaSE-17</executionEnvironment>
<target>
<file>target-platform.target</file>
</target>
<environments>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
</plugins>
</build>
<modules>
<!--TODO ADD YOUR MODULES HERE-->
../org.bndtools.elph.plugin
</modules>
</project>
Loading