Skip to content

Commit

Permalink
Version 1.1.0
Browse files Browse the repository at this point in the history
- First steps towards a mvn/tyco build (see bug 331001)

git-svn-id: http://dev.eclipse.org/svnroot/rt/org.eclipse.gemini.dbaccess/trunk@59 12902edb-6d80-0410-83f6-77bc01f5a9c0
  • Loading branch information
jkissner committed May 11, 2011
1 parent d99049e commit c9b8921
Show file tree
Hide file tree
Showing 29 changed files with 1,095 additions and 240 deletions.
3 changes: 2 additions & 1 deletion derby/org.eclipse.gemini.dbaccess.derby/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Gemini DBAccess (Incubation)
Bundle-SymbolicName: org.eclipse.gemini.dbaccess.derby
Bundle-Version: 1.0.0.M1-incubation
Bundle-Version: 1.1.0.qualifier
Bundle-Activator: org.eclipse.gemini.dbaccess.derby.Activator
Bundle-Vendor: Oracle Corporation
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Expand All @@ -11,5 +11,6 @@ Import-Package: javax.sql,
org.apache.derby.jdbc,
org.osgi.framework;version="[1.3,2)",
org.osgi.service.jdbc;version="[1.0,2.0)"
Bundle-ActivationPolicy: lazy


37 changes: 32 additions & 5 deletions doc/GettingStarted.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,42 @@ For example, the following bundles provide support for the Derby client/server d

*** Note: These bundles are shipped with Gemini DBAccess.

Maven Build
-----------

1) Install Maven 3.
2) You may need to configure the proxy settings. In case you are behind a firewall, edit the file
/mvn_parent/settings.xml and replace the TODOs with the right proxy settings.
3) To execute the build, go into /mvn_parent and run on the command line:
> mvn clean install
or, if you have configured the settings.xml:
> mvn -fae -s settings.xml clean install


Some remarks on what the build does:
- the folder /mvn_parent contains a pom.xml which is the "parent" of all
subprojects. Every bundle which is build has its own pom.xml file
- it builds every bundle (result as usually for maven is under /target in the
respective directory)
- A feature, which currently includes everything except the tests, is also built.
- An update site is generated: /gemini.dbaccess.updatesite . When this is build, you
should find there under /target/site/ a p2 repository containing the feature
and all plugins included into it.
- currently not all tests are executed
- If you add findbugs:findbugs at the end of the command line, you'll find in the different
/target directories which are produced some information from findbugs. This could be aggregated
and displayed in late stage by Hudson. To try it, just run:
> mvn clean install findbugs:findbugs
or, if you have configured the settings.xml:
> mvn -fae -s settings.xml clean install findbugs:findbugs


Installation
------------

If running in PDE then import the various bundles (the framework will already be there) as plug-ins
into your workspace. If you are not using PDE, but are using the framework directly then follow the
documentation of the framework for installing the bundles.


Configuration
-------------

Gemini DBAccess does not require any special environment configuration.
To run compile the projects in Eclipse, you have to open the gemini.dbaccess.targetdef project,
open the file gemini.dbaccess.target with the Target Editor and execute "Set as Target Platform"
1 change: 1 addition & 0 deletions gemini.dbaccess.feature/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
17 changes: 17 additions & 0 deletions gemini.dbaccess.feature/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.gemini.dbaccess.feature</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.FeatureBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
</projectDescription>
27 changes: 27 additions & 0 deletions gemini.dbaccess.feature/about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>About</title>
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
</head>
<body lang="EN-US">
<h2>About This Content</h2>

<p>June 7, 2007</p>
<h3>License</h3>

<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
indicated below, the Content is provided to you under the terms and conditions of the
Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>

<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
apply to your use of any object code in the Content. Check the Redistributor's license that was
provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
indicated below, the terms and conditions of the EPL still apply to any source code in the Content
and such source code may be obtained at <a href="/">http://www.eclipse.org</a>.</p>

</body>
</html>
10 changes: 10 additions & 0 deletions gemini.dbaccess.feature/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
bin.includes = feature.xml,\
about.html,\
epl-v10.html,\
license.html,\
feature.properties
src.includes = license.html,\
feature.xml,\
feature.properties,\
epl-v10.html,\
about.html
Loading

0 comments on commit c9b8921

Please sign in to comment.