[mapguide-commits] r7344 - in branches/2.5/MgDev/Web/src: JavaApi JavaApiEx

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Feb 5 22:05:09 PST 2013


Author: jng
Date: 2013-02-05 22:05:08 -0800 (Tue, 05 Feb 2013)
New Revision: 7344

Modified:
   branches/2.5/MgDev/Web/src/JavaApi/JavaApi.vcxproj
   branches/2.5/MgDev/Web/src/JavaApiEx/JavaApiEx.vcxproj
Log:
#2114: We weren't making the -sources jar that contains the inline API documentation. Update the pre-build events to do this

Modified: branches/2.5/MgDev/Web/src/JavaApi/JavaApi.vcxproj
===================================================================
--- branches/2.5/MgDev/Web/src/JavaApi/JavaApi.vcxproj	2013-02-05 14:26:01 UTC (rev 7343)
+++ branches/2.5/MgDev/Web/src/JavaApi/JavaApi.vcxproj	2013-02-06 06:05:08 UTC (rev 7344)
@@ -99,7 +99,8 @@
 "$(JAVA_HOME)\bin\javac" -classpath . org\osgeo\mapguide\*.java
 echo Building JAR file
 "$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApid.jar org\osgeo\mapguide\*.class
-</Command>
+echo Building -sources JAR file
+"$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApid-sources.jar org\osgeo\mapguide\*.java</Command>
     </PreBuildEvent>
     <ClCompile>
       <Optimization>Disabled</Optimization>
@@ -138,7 +139,8 @@
 "$(JAVA_HOME)\bin\javac" -classpath . org\osgeo\mapguide\*.java
 echo Building JAR file
 "$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApid.jar org\osgeo\mapguide\*.class
-</Command>
+echo Building -sources JAR file
+"$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApid-sources.jar org\osgeo\mapguide\*.java</Command>
     </PreBuildEvent>
     <ClCompile>
       <Optimization>Disabled</Optimization>
@@ -177,7 +179,8 @@
 "$(JAVA_HOME)\bin\javac" -classpath . org\osgeo\mapguide\*.java
 echo Building JAR file
 "$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApi.jar org\osgeo\mapguide\*.class
-</Command>
+echo Building -sources JAR file
+"$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApi-sources.jar org\osgeo\mapguide\*.java</Command>
     </PreBuildEvent>
     <ClCompile>
       <Optimization>MaxSpeed</Optimization>
@@ -216,7 +219,8 @@
 "$(JAVA_HOME)\bin\javac" -classpath . org\osgeo\mapguide\*.java
 echo Building JAR file
 "$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApi.jar org\osgeo\mapguide\*.class
-</Command>
+echo Building -sources JAR file
+"$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApi-sources.jar org\osgeo\mapguide\*.java</Command>
     </PreBuildEvent>
     <ClCompile>
       <Optimization>MaxSpeed</Optimization>

Modified: branches/2.5/MgDev/Web/src/JavaApiEx/JavaApiEx.vcxproj
===================================================================
--- branches/2.5/MgDev/Web/src/JavaApiEx/JavaApiEx.vcxproj	2013-02-05 14:26:01 UTC (rev 7343)
+++ branches/2.5/MgDev/Web/src/JavaApiEx/JavaApiEx.vcxproj	2013-02-06 06:05:08 UTC (rev 7344)
@@ -98,8 +98,9 @@
 echo Building java classes...
 "$(JAVA_HOME)\bin\javac" -classpath . org\osgeo\mapguide\*.java
 echo Building JAR file
-"$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApid.jar org\osgeo\mapguide\*.class
-</Command>
+"$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApiExd.jar org\osgeo\mapguide\*.class
+echo Building -sources JAR file
+"$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApiExd-sources.jar org\osgeo\mapguide\*.java</Command>
     </PreBuildEvent>
     <ClCompile>
       <Optimization>Disabled</Optimization>
@@ -137,8 +138,9 @@
 echo Building java classes...
 "$(JAVA_HOME)\bin\javac" -classpath . org\osgeo\mapguide\*.java
 echo Building JAR file
-"$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApid.jar org\osgeo\mapguide\*.class
-</Command>
+"$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApiExd.jar org\osgeo\mapguide\*.class
+echo Building -sources JAR file
+"$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApiExd-sources.jar org\osgeo\mapguide\*.java</Command>
     </PreBuildEvent>
     <ClCompile>
       <Optimization>Disabled</Optimization>
@@ -177,6 +179,8 @@
 "$(JAVA_HOME)\bin\javac" -classpath . org\osgeo\mapguide\*.java
 echo Building JAR file
 "$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApiEx.jar org\osgeo\mapguide\*.class
+echo Building -sources JAR file
+"$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApiEx-sources.jar org\osgeo\mapguide\*.java
 </Command>
     </PreBuildEvent>
     <ClCompile>
@@ -216,7 +220,8 @@
 "$(JAVA_HOME)\bin\javac" -classpath . org\osgeo\mapguide\*.java
 echo Building JAR file
 "$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApiEx.jar org\osgeo\mapguide\*.class
-</Command>
+echo Building -sources JAR file
+"$(JAVA_HOME)\bin\jar" cf ..\WEB-INF\lib\MapGuideApiEx-sources.jar org\osgeo\mapguide\*.java</Command>
     </PreBuildEvent>
     <ClCompile>
       <Optimization>MaxSpeed</Optimization>



More information about the mapguide-commits mailing list