Checkout Tools
  • last updated 56 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Used generics
Fixed FELIX-3078 and FELIX-3079

The new manipulation process is now easily embeddable and the process can be extended.

Thanks to Guillaume Sauthier for this hard work.

    • ?
    ./felix/ipojo/plugin/MavenReporter.java
  1. … 104 more files in changeset.
Fix FELIX-2833 The maven-ipojo-plugin does not support manipulating artifact with a classifier
  1. … 1 more file in changeset.
FELIX-2755 Allow the manipulator and the different front end to use several metadata files

If src/main/ipojo and target/classes/metadata.xml do not exist, try ./metadata.xml

This was the previous behavior, broken by the last commit.

Fix FELIX-2755 Allow the manipulator and the different front end to use several metadata files

Modify some test projects to use this new feature.

  1. … 21 more files in changeset.
Fix FELIX-2733

Add JAR and WAR as supported packaging types

Change how the output file is read.

Fix issue FELIX-1302.

The ignoreAnnotation argument was ignored.

Some cosmetic bugs in preparation to the next release.

    • -2
    • +2
    ./felix/ipojo/plugin/ManipulatorMojo.java
  1. … 16 more files in changeset.
Reduce drastically the size of the manipulator.

It does no more embed Xerces, but rely on any Sax parser implementation exporting org.xml.sax.

The main result is the reduction of the online manipulator size to 150Kb (instead of 1Mb).

Fix the junit4OSGi notice file : it does not includes OSGi code

    • -11
    • +26
    ./felix/ipojo/plugin/ManipulatorMojo.java
  1. … 6 more files in changeset.
Remove dependencies on java 1.5.
    • -1
    • +1
    ./felix/ipojo/plugin/ManipulatorMojo.java
  1. … 1 more file in changeset.
Fix issue Felix-846.

Despite the provided approach is not the cleanest (due to a maven issue), this patch allows setting iPOJO metadata in the pom file inside a CDATA block such as in:

<plugin>

<groupId>org.apache.felix</groupId>

<artifactId>maven-ipojo-plugin</artifactId>

<version>1.1.0-SNAPSHOT</version>

<executions>

<execution>

<goals>

<goal>ipojo-bundle</goal>

</goals>

<configuration>

<ignoreAnnotations>true</ignoreAnnotations>

<metadata>

<![CDATA[

<ipojo

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/1.1.0-SNAPSHOT/core.xsd

org.apache.felix.ipojo.whiteboard http://felix.apache.org/ipojo/schemas/1.1.0-SNAPSHOT/whiteboard-pattern.xsd"

xmlns="org.apache.felix.ipojo"

xmlns:wbp="org.apache.felix.ipojo.whiteboard">

<component classname="org.apache.felix.ipojo.test.FooProvider" name="fooprovider">

<provides>

<property field="foo" value="foo"/>

</provides>

</component>

<component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-providers">

<wbp:wbp

filter="(objectclass=org.apache.felix.ipojo.test.FooService)"

onArrival="onArrival" onDeparture="onDeparture" onModification="onModification"

/>

<provides/>

</component>

<component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-properties">

<wbp:wbp filter="(foo=foo)" onArrival="onArrival" onDeparture="onDeparture"

onModification="onModification"

/>

<provides/>

</component>

</ipojo>

]]>

</metadata>

</configuration>

</execution>

</executions>

</plugin>

So, the metadata attribute can be either absent (only annotations), or can contain the name of the metadata file or can contain iPOJO metadata in a CDATA block.

    • -20
    • +54
    ./felix/ipojo/plugin/ManipulatorMojo.java
  1. … 7 more files in changeset.
Fix issue Felix-813.

XML-Schemas are now embedded in the manipulator. The manipulator tries to use those files to validate the metadata.xml file. If a schema cannot be loaded "internally", the regular downloading process continue.

The internal resolution of schema can also be skipped by setting the ignoreEmbeddedSchemas parameter:

Ant: ignoreEmbeddedSchemas="true" attribute in the iPOJO task

Maven: <ignoreEmbeddedSchemas>true</ignoreEmbeddedSchemas> in the iPOJO plugin configuration

    • -0
    • +7
    ./felix/ipojo/plugin/ManipulatorMojo.java
  1. … 12 more files in changeset.
Fix issue Felix-795.

Improve metadata and manipulator performances by avoiding useless object construction, code and invocations

    • -2
    • +7
    ./felix/ipojo/plugin/ManipulatorMojo.java
  1. … 10 more files in changeset.
A bunch of cosmetic fixes.
    • -5
    • +5
    ./felix/ipojo/plugin/ManipulatorMojo.java
  1. … 27 more files in changeset.
Some (a lot of) cosmetic bug fix : format the javadoc.

    • -3
    • +3
    ./felix/ipojo/plugin/ManipulatorMojo.java
  1. … 12 more files in changeset.
Commit the new iPOJO version (0.7.6).
    • -5
    • +11
    ./felix/ipojo/plugin/ManipulatorMojo.java
  1. … 617 more files in changeset.
Commit the patch on the issue FELIX-432.

This patch allow to configure generated bundle attachment to the maven project.

The plugin can now generated two jar files. The first one is the bundle that is produced by Bnd, and the second one is the same bundle, but iPOJOized (manipulated).

That will be useful if I want to test my bundle in a non-ipojo env. Or if the env is not even OSGi.

    • -13
    • +36
    ./felix/ipojo/plugin/ManipulatorMojo.java
Commit the patch for the FELIX-398 issue.

Adapt a little the patch to propagate the ignoreAnnotation flag to the manipulator.

Update the Ant task to support the ignoreAnnotation attribute.

Now, iPOJO Core and Arch set this flag to true to improve compilation time.

    • -3
    • +44
    ./felix/ipojo/plugin/ManipulatorMojo.java
  1. … 4 more files in changeset.
Add annotation support in iPOJO. It is now possible to define component-type with Java 5 annotations.

(however, only the annotations project requires Java 5)

    • -1
    • +2
    ./felix/ipojo/plugin/ManipulatorMojo.java
  1. … 33 more files in changeset.
Improve method invocation for Lifecycle Callbacks. Allow the invocation of method from parent classes.(Felix-315).
    • -13
    • +38
    ./felix/ipojo/plugin/ManipulatorMojo.java
  1. … 3 more files in changeset.
Solve a architecture bug (to get the metadata file)

Add .checkstyle in .svn:ignore.

    • -4
    • +3
    ./felix/ipojo/plugin/ManipulatorMojo.java
  1. … 4 more files in changeset.
Commit the new iPOJO Version (Felix-311)

Change the global pom file : the iPOJO profile is no more useful thanks to the new maven plugin. However, manipulator and metadata move inside the plugins profile (required to compile the new maven plugin)

    • ?
    ./felix/ipojo/plugin/QuotedTokenizer.java
    • -0
    • +82
    ./felix/ipojo/plugin/ManipulatorMojo.java
    • ?
    ./felix/ipojo/plugin/IPojoPluginConfiguration.java
    • ?
    ./felix/ipojo/parser/ParseException.java
    • ?
    ./felix/ipojo/parser/ManifestMetadataParser.java
    • ?
    ./felix/ipojo/parser/XMLMetadataParser.java
    • ?
    ./felix/ipojo/manipulation/Manipulator.java
  1. … 41 more files in changeset.
Move Felix Project Team mail address form incubator to the new top-level dev list.
    • -1
    • +1
    ./felix/ipojo/manipulation/PreprocessCodeAdapter.java
    • -1
    • +1
    ./felix/ipojo/manipulation/ManipulationProperty.java
    • -1
    • +1
    ./felix/ipojo/plugin/OsgiJarMojo.java
    • -1
    • +1
    ./felix/ipojo/parser/ParseException.java
    • -1
    • +1
    ./felix/ipojo/manipulation/ConstructorCodeAdapter.java
    • -1
    • +1
    ./felix/ipojo/parser/ManifestMetadataParser.java
    • -1
    • +1
    ./felix/ipojo/plugin/OsgiManifest.java
    • -1
    • +1
    ./felix/ipojo/manipulation/PreprocessClassAdapter.java
  1. … 273 more files in changeset.
Applied patch (FELIX-300) to change iPOJO to use ASM 3.

    • -3
    • +3
    ./felix/ipojo/manipulation/Manipulator.java
  1. … 10 more files in changeset.