Skip to content
Browse files

JRUBY-1162 in 1.0 maintenance branch

git-svn-id: http://svn.codehaus.org/jruby/branches/jruby-1_0_X@3910 961051c9-f516-0410-bf72-c9f7e237a7b7
  • Loading branch information...
1 parent bdc385a commit 5399021e54382d06b6b7e1e539f307976b0d97ed @nicksieger nicksieger committed Jun 22, 2007
Showing with 34 additions and 0 deletions.
  1. +17 −0 maven/jruby-complete/pom.xml
  2. +17 −0 maven/jruby/pom.xml
View
17 maven/jruby-complete/pom.xml
@@ -127,6 +127,23 @@
</goals>
</execution>
<execution>
+ <id>generate-method-classes</id>
+ <phase>process-classes</phase>
+ <goals><goal>run</goal></goals>
+ <configuration>
+ <tasks>
+ <touch file="${project.build.directory}/__empty.rb"/>
+ <java classname="org.jruby.Main" fork="true">
+ <classpath refid="maven.compile.classpath"/>
+ <sysproperty key="jruby.dump_invocations" value="${project.build.outputDirectory}"/>
+ <arg value="-rjava"/>
+ <arg value="${project.build.directory}/__empty.rb"/>
+ </java>
+ <delete file="${project.build.directory}/__empty.rb" quiet="true"/>
+ </tasks>
+ </configuration>
+ </execution>
+ <execution>
<id>jarjar</id>
<phase>package</phase>
<configuration>
View
17 maven/jruby/pom.xml
@@ -60,6 +60,23 @@
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
+ <id>generate-method-classes</id>
+ <phase>process-classes</phase>
+ <goals><goal>run</goal></goals>
+ <configuration>
+ <tasks>
+ <touch file="${project.build.directory}/__empty.rb"/>
+ <java classname="org.jruby.Main" fork="true">
+ <classpath refid="maven.compile.classpath"/>
+ <sysproperty key="jruby.dump_invocations" value="${project.build.outputDirectory}"/>
+ <arg value="-rjava"/>
+ <arg value="${project.build.directory}/__empty.rb"/>
+ </java>
+ <delete file="${project.build.directory}/__empty.rb" quiet="true"/>
+ </tasks>
+ </configuration>
+ </execution>
+ <execution>
<id>tests</id>
<phase>test</phase>
<configuration>

0 comments on commit 5399021

Please sign in to comment.
Something went wrong with that request. Please try again.