Author: ltheussl
Date: Thu Jan 12 14:04:55 2006
New Revision: 368490

URL: http://svn.apache.org/viewcvs?rev=368490&view=rev
Log:
PR: MPNATIVE-12
Create .lib with full name

Modified:
    maven/maven-1/plugins/trunk/native/plugin.jelly
    maven/maven-1/plugins/trunk/native/xdocs/changes.xml

Modified: maven/maven-1/plugins/trunk/native/plugin.jelly
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/native/plugin.jelly?rev=368490&r1=368489&r2=368490&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/native/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/native/plugin.jelly Thu Jan 12 14:04:55 2006
@@ -154,11 +154,16 @@
        </j:if> 
        
        <!-- dll -->
-       <ant:available property="outputPresentDLL" 
file="${maven.build.dir}/native/_.dll"/>       
+       <ant:available property="outputPresentDLL" 
file="${maven.build.dir}/native/_.dll"/>
        <j:if test="${outputPresentDLL == 'true'}">
             <ant:copy file="${maven.build.dir}/native/_.dll" 
                 
tofile="${maven.build.dir}/native/${pom.artifactId}-${pom.currentVersion}.dll" 
overwrite="true"/>
-       </j:if> 
+            <ant:available property="outputPresentLIB" 
file="${maven.build.dir}/native/_.lib"/>
+            <j:if test="${outputPresentLIB == 'true'}">
+                <ant:copy file="${maven.build.dir}/native/_.lib"
+                    
tofile="${maven.build.dir}/native/${pom.artifactId}-${pom.currentVersion}.lib" 
overwrite="true"/>
+            </j:if>
+       </j:if>
        
        <!-- dylib -->
        <ant:available property="outputPresentDylib" 
file="${maven.build.dir}/native/lib_.dylib"/>

Modified: maven/maven-1/plugins/trunk/native/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/native/xdocs/changes.xml?rev=368490&r1=368489&r2=368490&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/native/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/native/xdocs/changes.xml Thu Jan 12 14:04:55 
2006
@@ -25,6 +25,7 @@
   </properties>
   <body>
     <release version="1.2-SNAPSHOT" date="in CVS">
+      <action dev="ltheussl" type="fix" issue="MPNATIVE-12" due-to="Dan 
Tran">Need .lib full name.</action>
       <action dev="ltheussl" type="fix" issue="MPNATIVE-14" due-to="Marcus 
Crafter">Add dependency classpath to call to javah.</action>
       <action dev="ltheussl" type="fix" issue="MPNATIVE-13" 
due-to="baleineca">Jelly tokenize incorrect behaviour.</action>
       <action dev="brett" type="add" due-to="baleineca">Checking for runtime 
property and adding it.  Default to "dynamic" if not present.</action>


Reply via email to