浏览代码

Build source release ZIPs.

Ben Alex 20 年之前
父节点
当前提交
2e0aabfaac
共有 2 个文件被更改,包括 83 次插入0 次删除
  1. 37 0
      doc/maven.xml
  2. 46 0
      src-readme.txt

+ 37 - 0
doc/maven.xml

@@ -64,6 +64,43 @@
 		<ant:zip zipfile="${maven.build.dir}/acegi-security-${pom.currentVersion}.zip">
 		<ant:zip zipfile="${maven.build.dir}/acegi-security-${pom.currentVersion}.zip">
 		  <ant:zipfileset dir="${maven.build.dir}/zip"/>
 		  <ant:zipfileset dir="${maven.build.dir}/zip"/>
 		</ant:zip>
 		</ant:zip>
+
+
+		<!-- Source release ZIP does not include an acegi-security-xx directory,
+		     to ease IDE integration when used directly as a ZIP file. -->
+		<ant:mkdir dir="${maven.build.dir}/zip-src"/>
+		
+		<ant:copy todir="${maven.build.dir}/zip-src">
+			<ant:fileset dir="${basedir}/../">
+				<ant:include name="license.txt"/>
+				<ant:include name="notice.txt"/>
+				<ant:include name="src-readme.txt"/>
+				<ant:include name="project.xml"/>
+			</ant:fileset>
+			<ant:fileset dir="${basedir}/../core/src/main/java">
+				<ant:include name="**/*"/>
+			</ant:fileset>
+			<ant:fileset dir="${basedir}/../adapters/cas/src/main/java">
+				<ant:include name="**/*"/>
+			</ant:fileset>
+			<ant:fileset dir="${basedir}/../adapters/catalina/src/main/java">
+				<ant:include name="**/*"/>
+			</ant:fileset>
+			<ant:fileset dir="${basedir}/../adapters/jboss/src/main/java">
+				<ant:include name="**/*"/>
+			</ant:fileset>
+			<ant:fileset dir="${basedir}/../adapters/jetty/src/main/java">
+				<ant:include name="**/*"/>
+			</ant:fileset>
+			<ant:fileset dir="${basedir}/../adapters/resin/src/main/java">
+				<ant:include name="**/*"/>
+			</ant:fileset>
+		</ant:copy>
+
+		<ant:zip zipfile="${maven.build.dir}/acegi-security-${pom.currentVersion}-src.zip">
+		  <ant:zipfileset dir="${maven.build.dir}/zip-src"/>
+		</ant:zip>
+
 	</goal>
 	</goal>
 
 
 	<goal name="acegideploy">
 	<goal name="acegideploy">

+ 46 - 0
src-readme.txt

@@ -0,0 +1,46 @@
+===============================================================================
+              ACEGI SECURITY SYSTEM FOR SPRING - README FILE
+===============================================================================
+
+-------------------------------------------------------------------------------
+OVERVIEW
+-------------------------------------------------------------------------------
+
+The Acegi Security System for Spring provides security services for 
+The Spring Framework (http://www.springframework.org).
+
+For a detailed list of features and access to the latest release, please visit
+http://acegisecurity.sourceforge.net.
+
+-------------------------------------------------------------------------------
+SOURCE RELEASES
+-------------------------------------------------------------------------------
+
+If you have downloaded an acegi-security-xx-src.zip, you will NOT be able to
+compile the project. The -src releases are intended for source code review
+and IDE integration only. If you wish to use Acegi Security, you must download
+the full release or compile it from CVS. See the "Building with Maven" page
+at http://acegisecurity.sourceforge.net for further details. There is also
+a "Download" link if you would prefer to download an already compiled release.
+
+-------------------------------------------------------------------------------
+OBTAINING SUPPORT
+-------------------------------------------------------------------------------
+
+If you need any help, please use the Acegi Security System for Spring forum
+located at the Spring Community's forum site: 
+
+  http://forum.springframework.org
+
+If you start using Acegi Security in your project, please consider joining
+the acegisecurity-developer mailing list. This is currently the best way to
+keep informed about the project's status and provide feedback in design 
+discussions. You can join at:
+
+  https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer.
+
+Links to mailing list archives, the forums, and other useful resources are
+available from http://acegisecurity.sourceforge.net.
+
+
+$Id$