You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kato-commits@incubator.apache.org by sp...@apache.org on 2009/09/28 14:40:56 UTC

svn commit: r819564 - in /incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi: ./ .classpath pom.xml win32/ win32/pom.xml

Author: spoole
Date: Mon Sep 28 14:40:55 2009
New Revision: 819564

URL: http://svn.apache.org/viewvc?rev=819564&view=rev
Log:
2nd initial drop of code for vm api support

Added:
    incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/win32/
    incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/win32/pom.xml
Modified:
    incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/   (props changed)
    incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/.classpath
    incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/pom.xml

Propchange: incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Sep 28 14:40:55 2009
@@ -0,0 +1 @@
+target

Modified: incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/.classpath
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/.classpath?rev=819564&r1=819563&r2=819564&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/.classpath (original)
+++ incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/.classpath Mon Sep 28 14:40:55 2009
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
-	<classpathentry kind="src" path="tests/src/test/java"/>
+	<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
 	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
 	<classpathentry kind="output" path="target/classes"/>

Modified: incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/pom.xml?rev=819564&r1=819563&r2=819564&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/pom.xml (original)
+++ incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/pom.xml Mon Sep 28 14:40:55 2009
@@ -15,7 +15,7 @@
     <properties>
     <native.source.dir>../src/main/native</native.source.dir>
     <javah.source.dir>../javah/target/native/javah</javah.source.dir>
-   <native.lib>qwerty</native.lib>
+   
   	
 	</properties>
     <build>

Added: incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/win32/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/win32/pom.xml?rev=819564&view=auto
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/win32/pom.xml (added)
+++ incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/win32/pom.xml Mon Sep 28 14:40:55 2009
@@ -0,0 +1,93 @@
+<project>
+
+  <modelVersion>4.0.0</modelVersion>
+  <description>Create Windows 32bit version of Kato VM native library</description>
+
+  <parent>
+    <groupId>org.apache.kato</groupId>
+    <artifactId>kato.native.vmapi</artifactId>
+    <version>0.0.1-SNAPSHOT</version>
+  </parent>
+
+  <groupId>org.apache.kato.native</groupId>
+  
+  
+    
+    
+   <artifactId>katovmapi</artifactId>
+  
+  <name>Win32 Version of Kato VM Native Library</name>
+  
+  <packaging>dll</packaging>
+  
+  
+  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>native-maven-plugin</artifactId>
+        <extensions>true</extensions>   
+        <configuration>
+         <compilerProvider>msvc</compilerProvider>
+          <compilerStartOptions>
+            <compilerStartOption>/LD /D "WIN32"  /DBUILD_DLL</compilerStartOption>
+          </compilerStartOptions>
+          
+          <javahOS>win32</javahOS>
+          
+          <sources>
+            <source>
+              <directory>${native.source.dir}</directory>
+              <fileNames>
+                <fileName>katovmapi.c</fileName>
+              </fileNames>
+            </source>  
+            <source>
+              <directory>${native.source.dir}/include</directory>
+              <directory>${javah.source.dir}</directory>
+            </source>            
+          </sources>
+            
+          
+          <linkerStartOptions>
+            <linkerStartOption>/DLL</linkerStartOption>
+          </linkerStartOptions>
+          
+          
+          
+        </configuration>
+        
+      </plugin>
+
+	<plugin>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>2.4</version>
+        <executions>
+          <execution>
+            <id>copy-resources</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${basedir}/../target</outputDirectory>
+              <resources>          
+                <resource>
+                  <directory>${basedir}/target/</directory>
+                  <includes>
+         			 <include>*.dll</include>
+				  </includes>
+                </resource>
+              </resources>              
+            </configuration>            
+          </execution>
+        </executions>
+      </plugin>
+
+    </plugins>    
+
+  </build>
+  
+  
+</project>