Krzysztof Daniel a31024c
--- rt.equinox.framework/bundles/org.eclipse.osgi.services/build.properties.bak	2013-05-10 10:19:28.000000000 +0200
Krzysztof Daniel a31024c
+++ rt.equinox.framework/bundles/org.eclipse.osgi.services/build.properties	2013-05-10 11:29:48.359120855 +0200
Krzysztof Daniel b562a08
@@ -16,8 +16,11 @@
Krzysztof Daniel b562a08
 src.includes = src.zip,\
Krzysztof Daniel a31024c
                about.html,\
Krzysztof Daniel a31024c
                about_files/
Krzysztof Daniel b562a08
-source.. = .
Krzysztof Daniel b562a08
-output.. = .
Krzysztof Daniel a31024c
+source.. = src/
Krzysztof Daniel a31024c
+output.. = bin/
Krzysztof Daniel a31024c
 customBuildCallbacks=customBuildCallbacks.xml
Krzysztof Daniel a31024c
 javacSource = 1.5
Krzysztof Daniel a31024c
 javacTarget = 1.5
Krzysztof Daniel a31024c
+jars.compile.order = library.jar,\
Krzysztof Daniel a31024c
+                     src/
Krzysztof Daniel a31024c
+source.library.jar = src2/
Krzysztof Daniel b562a08
\ No newline at end of file
Krzysztof Daniel a31024c
--- rt.equinox.framework/bundles/org.eclipse.osgi.services/pom.xml.bak	2013-05-10 10:19:28.000000000 +0200
Krzysztof Daniel a31024c
+++ rt.equinox.framework/bundles/org.eclipse.osgi.services/pom.xml	2013-05-10 11:28:11.292306529 +0200
Krzysztof Daniel b562a08
@@ -27,18 +27,79 @@
Krzysztof Daniel a31024c
       <plugin>
Krzysztof Daniel a31024c
         <groupId>org.eclipse.tycho</groupId>
Krzysztof Daniel a31024c
         <artifactId>target-platform-configuration</artifactId>
Krzysztof Daniel a31024c
-        
Krzysztof Daniel a31024c
-        When building monolith, optional import-package javax.microedition.io causes circular dependency
Krzysztof Daniel a31024c
-        between this org.eclipse.osgi.services bundle and org.eclipse.equinox.io. 
Krzysztof Daniel a31024c
-        Since this bundle does not need to compile anything, we just disable optional dependencies during
Krzysztof Daniel a31024c
-        the build. 
Krzysztof Daniel a31024c
-         -->
Krzysztof Daniel a31024c
         <configuration>
Krzysztof Daniel a31024c
           <dependency-resolution>
Krzysztof Daniel a31024c
-            <optionalDependencies>ignore</optionalDependencies>
Krzysztof Daniel a31024c
+            <optionalDependencies>ignore</optionalDependencies>
Krzysztof Daniel b562a08
+			<extraRequirements>
Krzysztof Daniel f37837f
+              <requirement>
Krzysztof Daniel f37837f
+                <type>eclipse-plugin</type>
Krzysztof Daniel f37837f
+                <id>javax.servlet</id>
Krzysztof Daniel f37837f
+                <versionRange>0.0.0</versionRange>
Krzysztof Daniel f37837f
+              </requirement>
Krzysztof Daniel f37837f
+            </extraRequirements>
Krzysztof Daniel a31024c
           </dependency-resolution>
Krzysztof Daniel a31024c
         </configuration>
Krzysztof Daniel a31024c
       </plugin>
Krzysztof Daniel b562a08
+       <plugin>
Krzysztof Daniel f37837f
+            <artifactId>maven-antrun-plugin</artifactId>
Krzysztof Daniel f37837f
+            <version>1.7</version>
Krzysztof Daniel f37837f
+            <executions>
Krzysztof Daniel f37837f
+              <execution>
Krzysztof Daniel d122012
+                <id>extract-sources</id>
Krzysztof Daniel f37837f
+                <phase>process-resources</phase>
Krzysztof Daniel f37837f
+                <configuration>
Krzysztof Daniel f37837f
+                  <target>
Krzysztof Daniel a31024c
+                    <mkdir dir="src" />
Krzysztof Daniel a31024c
+                    <mkdir dir="bin" />
Krzysztof Daniel d122012
+                    <unzip src="src.zip" dest="src" overwrite="false"/>
Krzysztof Daniel f37837f
+                    <mkdir dir="src2/javax" />
Krzysztof Daniel a31024c
+                    <copy todir="src2/javax/">
Krzysztof Daniel a31024c
+                    	<fileset dir="../../../rt.equinox.bundles/bundles/org.eclipse.equinox.io/src/javax"/>
Krzysztof Daniel a31024c
+                    </copy>
Krzysztof Daniel f37837f
+                  </target>
Krzysztof Daniel f37837f
+                </configuration>
Krzysztof Daniel f37837f
+                <goals>
Krzysztof Daniel f37837f
+                  <goal>run</goal>
Krzysztof Daniel f37837f
+                </goals>
Krzysztof Daniel f37837f
+              </execution>
Krzysztof Daniel d122012
+              <execution>
Krzysztof Daniel d122012
+                <id>copy-classes-back</id>
Krzysztof Daniel d122012
+                <phase>process-classes</phase>
Krzysztof Daniel d122012
+                <configuration>
Krzysztof Daniel d122012
+                  <target>
Krzysztof Daniel a31024c
+                    <copy todir="org/">
Krzysztof Daniel a31024c
+                    	<fileset dir="target/classes/org/"/>
Krzysztof Daniel a31024c
+                    </copy>
Krzysztof Daniel d122012
+                  </target>
Krzysztof Daniel d122012
+                </configuration>
Krzysztof Daniel d122012
+                <goals>
Krzysztof Daniel d122012
+                  <goal>run</goal>
Krzysztof Daniel d122012
+                </goals>
Krzysztof Daniel d122012
+              </execution>
Krzysztof Daniel f37837f
+            </executions>
Krzysztof Daniel f37837f
+            <dependencies>
Krzysztof Daniel b562a08
+              
Krzysztof Daniel f37837f
+                <groupId>bsf</groupId>
Krzysztof Daniel f37837f
+                <artifactId>bsf</artifactId>
Krzysztof Daniel f37837f
+                <version>2.4.0</version>
Krzysztof Daniel f37837f
+              </dependency>
Krzysztof Daniel f37837f
+              <dependency>
Krzysztof Daniel f37837f
+                <groupId>rhino</groupId>
Krzysztof Daniel f37837f
+                <artifactId>js</artifactId>
Krzysztof Daniel f37837f
+                <version>1.7R2</version>
Krzysztof Daniel f37837f
+              </dependency>
Krzysztof Daniel f37837f
+              <dependency>
Krzysztof Daniel f37837f
+                <groupId>org.apache.ant</groupId>
Krzysztof Daniel f37837f
+                <artifactId>ant-apache-bsf</artifactId>
Krzysztof Daniel f37837f
+                <version>1.8.3</version>
Krzysztof Daniel f37837f
+              </dependency>
Krzysztof Daniel f37837f
+              <dependency>
Krzysztof Daniel f37837f
+                <groupId>org.apache.ant</groupId>
Krzysztof Daniel f37837f
+                <artifactId>ant-nodeps</artifactId>
Krzysztof Daniel f37837f
+                <version>1.8.1</version>
Krzysztof Daniel b562a08
+              </dependency-->
Krzysztof Daniel f37837f
+            </dependencies>
Krzysztof Daniel b562a08
+          </plugin>      
Krzysztof Daniel f37837f
     </plugins>
Krzysztof Daniel f37837f
   </build>
Krzysztof Daniel f37837f