You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2012/11/19 04:54:40 UTC
svn commit: r1411058 [1/3] - in /commons/sandbox/privilizer/trunk: ./ ant/
ant/lib/ ant/lib/src/ ant/lib/src/main/ ant/lib/src/main/java/
ant/lib/src/main/java/org/ ant/lib/src/main/java/org/apache/
ant/lib/src/main/java/org/apache/commons/ ant/lib/src...
Author: mbenson
Date: Mon Nov 19 03:54:31 2012
New Revision: 1411058
URL: http://svn.apache.org/viewvc?rev=1411058&view=rev
Log:
add trunk
Added:
commons/sandbox/privilizer/trunk/
commons/sandbox/privilizer/trunk/LICENSE.txt (with props)
commons/sandbox/privilizer/trunk/NOTICE.txt (with props)
commons/sandbox/privilizer/trunk/ant/
commons/sandbox/privilizer/trunk/ant/lib/
commons/sandbox/privilizer/trunk/ant/lib/pom.xml (with props)
commons/sandbox/privilizer/trunk/ant/lib/src/
commons/sandbox/privilizer/trunk/ant/lib/src/main/
commons/sandbox/privilizer/trunk/ant/lib/src/main/java/
commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/
commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/
commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/
commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/
commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/
commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/PrepareTask.java (with props)
commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/PrivilegedTask.java (with props)
commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/WeaveTask.java (with props)
commons/sandbox/privilizer/trunk/ant/lib/src/main/resources/
commons/sandbox/privilizer/trunk/ant/lib/src/main/resources/org/
commons/sandbox/privilizer/trunk/ant/lib/src/main/resources/org/apache/
commons/sandbox/privilizer/trunk/ant/lib/src/main/resources/org/apache/commons/
commons/sandbox/privilizer/trunk/ant/lib/src/main/resources/org/apache/commons/privilizer/
commons/sandbox/privilizer/trunk/ant/lib/src/main/resources/org/apache/commons/privilizer/ant/
commons/sandbox/privilizer/trunk/ant/lib/src/main/resources/org/apache/commons/privilizer/ant/antlib.xml (with props)
commons/sandbox/privilizer/trunk/ant/lib/src/test/
commons/sandbox/privilizer/trunk/ant/pom.xml (with props)
commons/sandbox/privilizer/trunk/ant/src/
commons/sandbox/privilizer/trunk/ant/src/site/
commons/sandbox/privilizer/trunk/ant/src/site/apt/
commons/sandbox/privilizer/trunk/ant/src/site/apt/format.apt
commons/sandbox/privilizer/trunk/ant/src/site/apt/index.apt
commons/sandbox/privilizer/trunk/ant/src/site/fml/
commons/sandbox/privilizer/trunk/ant/src/site/fml/faq.fml
commons/sandbox/privilizer/trunk/ant/src/site/fr/
commons/sandbox/privilizer/trunk/ant/src/site/fr/apt/
commons/sandbox/privilizer/trunk/ant/src/site/fr/apt/format.apt
commons/sandbox/privilizer/trunk/ant/src/site/fr/apt/index.apt
commons/sandbox/privilizer/trunk/ant/src/site/fr/fml/
commons/sandbox/privilizer/trunk/ant/src/site/fr/fml/faq.fml
commons/sandbox/privilizer/trunk/ant/src/site/fr/xdoc/
commons/sandbox/privilizer/trunk/ant/src/site/fr/xdoc/xdoc.xml (with props)
commons/sandbox/privilizer/trunk/ant/src/site/site.xml (with props)
commons/sandbox/privilizer/trunk/ant/src/site/site_fr.xml (with props)
commons/sandbox/privilizer/trunk/ant/src/site/xdoc/
commons/sandbox/privilizer/trunk/ant/src/site/xdoc/xdoc.xml (with props)
commons/sandbox/privilizer/trunk/ant/test/
commons/sandbox/privilizer/trunk/ant/test/pom.xml (with props)
commons/sandbox/privilizer/trunk/ant/test/src/
commons/sandbox/privilizer/trunk/api/
commons/sandbox/privilizer/trunk/api/pom.xml (with props)
commons/sandbox/privilizer/trunk/api/src/
commons/sandbox/privilizer/trunk/api/src/main/
commons/sandbox/privilizer/trunk/api/src/main/java/
commons/sandbox/privilizer/trunk/api/src/main/java/org/
commons/sandbox/privilizer/trunk/api/src/main/java/org/apache/
commons/sandbox/privilizer/trunk/api/src/main/java/org/apache/commons/
commons/sandbox/privilizer/trunk/api/src/main/java/org/apache/commons/privilizer/
commons/sandbox/privilizer/trunk/api/src/main/java/org/apache/commons/privilizer/Privileged.java (with props)
commons/sandbox/privilizer/trunk/example/
commons/sandbox/privilizer/trunk/example/pom.xml (with props)
commons/sandbox/privilizer/trunk/example/src/
commons/sandbox/privilizer/trunk/example/src/main/
commons/sandbox/privilizer/trunk/example/src/main/java/
commons/sandbox/privilizer/trunk/example/src/main/java/org/
commons/sandbox/privilizer/trunk/example/src/main/java/org/apache/
commons/sandbox/privilizer/trunk/example/src/main/java/org/apache/commons/
commons/sandbox/privilizer/trunk/example/src/main/java/org/apache/commons/privilizer/
commons/sandbox/privilizer/trunk/example/src/main/java/org/apache/commons/privilizer/example/
commons/sandbox/privilizer/trunk/example/src/main/java/org/apache/commons/privilizer/example/NoArgs.java (with props)
commons/sandbox/privilizer/trunk/example/src/main/java/org/apache/commons/privilizer/example/Overloading.java (with props)
commons/sandbox/privilizer/trunk/example/src/main/java/org/apache/commons/privilizer/example/PrivateMethods.java (with props)
commons/sandbox/privilizer/trunk/example/src/main/java/org/apache/commons/privilizer/example/StaticNoArgs.java (with props)
commons/sandbox/privilizer/trunk/example/src/main/java/org/apache/commons/privilizer/example/StaticOverloading.java (with props)
commons/sandbox/privilizer/trunk/example/src/main/java/org/apache/commons/privilizer/example/StaticPrivateMethods.java (with props)
commons/sandbox/privilizer/trunk/example/src/main/java/org/apache/commons/privilizer/example/StaticUsingArgs.java (with props)
commons/sandbox/privilizer/trunk/example/src/main/java/org/apache/commons/privilizer/example/UsingArgs.java (with props)
commons/sandbox/privilizer/trunk/example/src/test/
commons/sandbox/privilizer/trunk/example/src/test/java/
commons/sandbox/privilizer/trunk/example/src/test/java/org/
commons/sandbox/privilizer/trunk/example/src/test/java/org/apache/
commons/sandbox/privilizer/trunk/example/src/test/java/org/apache/commons/
commons/sandbox/privilizer/trunk/example/src/test/java/org/apache/commons/privilizer/
commons/sandbox/privilizer/trunk/example/src/test/java/org/apache/commons/privilizer/example/
commons/sandbox/privilizer/trunk/example/src/test/java/org/apache/commons/privilizer/example/NoArgsTest.java (with props)
commons/sandbox/privilizer/trunk/example/src/test/java/org/apache/commons/privilizer/example/OverloadingTest.java (with props)
commons/sandbox/privilizer/trunk/example/src/test/java/org/apache/commons/privilizer/example/PrivateMethodsTest.java (with props)
commons/sandbox/privilizer/trunk/example/src/test/java/org/apache/commons/privilizer/example/StaticNoArgsTest.java (with props)
commons/sandbox/privilizer/trunk/example/src/test/java/org/apache/commons/privilizer/example/StaticOverloadingTest.java (with props)
commons/sandbox/privilizer/trunk/example/src/test/java/org/apache/commons/privilizer/example/StaticPrivateMethodsTest.java (with props)
commons/sandbox/privilizer/trunk/example/src/test/java/org/apache/commons/privilizer/example/StaticUsingArgsTest.java (with props)
commons/sandbox/privilizer/trunk/example/src/test/java/org/apache/commons/privilizer/example/UsingArgsTest.java (with props)
commons/sandbox/privilizer/trunk/example/src/test/resources/
commons/sandbox/privilizer/trunk/example/src/test/resources/java.policy
commons/sandbox/privilizer/trunk/maven-plugin/
commons/sandbox/privilizer/trunk/maven-plugin/pom.xml (with props)
commons/sandbox/privilizer/trunk/maven-plugin/src/
commons/sandbox/privilizer/trunk/maven-plugin/src/main/
commons/sandbox/privilizer/trunk/maven-plugin/src/main/java/
commons/sandbox/privilizer/trunk/maven-plugin/src/main/java/org/
commons/sandbox/privilizer/trunk/maven-plugin/src/main/java/org/apache/
commons/sandbox/privilizer/trunk/maven-plugin/src/main/java/org/apache/commons/
commons/sandbox/privilizer/trunk/maven-plugin/src/main/java/org/apache/commons/privilizer/
commons/sandbox/privilizer/trunk/maven-plugin/src/main/java/org/apache/commons/privilizer/maven/
commons/sandbox/privilizer/trunk/maven-plugin/src/main/java/org/apache/commons/privilizer/maven/AbstractPrivilegedMojo.java (with props)
commons/sandbox/privilizer/trunk/maven-plugin/src/main/java/org/apache/commons/privilizer/maven/PrepareMojo.java (with props)
commons/sandbox/privilizer/trunk/maven-plugin/src/main/java/org/apache/commons/privilizer/maven/PrivilegedMojo.java (with props)
commons/sandbox/privilizer/trunk/maven-plugin/src/main/java/org/apache/commons/privilizer/maven/TestPrepareMojo.java (with props)
commons/sandbox/privilizer/trunk/maven-plugin/src/main/java/org/apache/commons/privilizer/maven/TestPrivilegedMojo.java (with props)
commons/sandbox/privilizer/trunk/maven-plugin/src/main/java/org/apache/commons/privilizer/maven/TestWeaveMojo.java (with props)
commons/sandbox/privilizer/trunk/maven-plugin/src/main/java/org/apache/commons/privilizer/maven/WeaveMojo.java (with props)
commons/sandbox/privilizer/trunk/pom.xml (with props)
commons/sandbox/privilizer/trunk/src/
commons/sandbox/privilizer/trunk/src/site/
commons/sandbox/privilizer/trunk/src/site/apt/
commons/sandbox/privilizer/trunk/src/site/markdown/
commons/sandbox/privilizer/trunk/src/site/markdown/index.md
commons/sandbox/privilizer/trunk/src/site/resources/
commons/sandbox/privilizer/trunk/src/site/resources/images/
commons/sandbox/privilizer/trunk/src/site/resources/images/privilizer-logo-white.png (with props)
commons/sandbox/privilizer/trunk/src/site/resources/images/privilizer-logo-white.xcf (with props)
commons/sandbox/privilizer/trunk/src/site/site.xml (with props)
commons/sandbox/privilizer/trunk/weaver/
commons/sandbox/privilizer/trunk/weaver/pom.xml (with props)
commons/sandbox/privilizer/trunk/weaver/src/
commons/sandbox/privilizer/trunk/weaver/src/main/
commons/sandbox/privilizer/trunk/weaver/src/main/java/
commons/sandbox/privilizer/trunk/weaver/src/main/java/org/
commons/sandbox/privilizer/trunk/weaver/src/main/java/org/apache/
commons/sandbox/privilizer/trunk/weaver/src/main/java/org/apache/commons/
commons/sandbox/privilizer/trunk/weaver/src/main/java/org/apache/commons/privilizer/
commons/sandbox/privilizer/trunk/weaver/src/main/java/org/apache/commons/privilizer/weave/
commons/sandbox/privilizer/trunk/weaver/src/main/java/org/apache/commons/privilizer/weave/AccessLevel.java (with props)
commons/sandbox/privilizer/trunk/weaver/src/main/java/org/apache/commons/privilizer/weave/AlreadyWovenException.java (with props)
commons/sandbox/privilizer/trunk/weaver/src/main/java/org/apache/commons/privilizer/weave/Body.java (with props)
commons/sandbox/privilizer/trunk/weaver/src/main/java/org/apache/commons/privilizer/weave/FilesystemPrivilizer.java (with props)
commons/sandbox/privilizer/trunk/weaver/src/main/java/org/apache/commons/privilizer/weave/Privilizer.java (with props)
commons/sandbox/privilizer/trunk/weaver/src/main/java/org/apache/commons/privilizer/weave/URLArray.java (with props)
commons/sandbox/privilizer/trunk/weaver/src/test/
Added: commons/sandbox/privilizer/trunk/LICENSE.txt
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/LICENSE.txt?rev=1411058&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/LICENSE.txt (added)
+++ commons/sandbox/privilizer/trunk/LICENSE.txt Mon Nov 19 03:54:31 2012
@@ -0,0 +1,203 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
Propchange: commons/sandbox/privilizer/trunk/LICENSE.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: commons/sandbox/privilizer/trunk/NOTICE.txt
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/NOTICE.txt?rev=1411058&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/NOTICE.txt (added)
+++ commons/sandbox/privilizer/trunk/NOTICE.txt Mon Nov 19 03:54:31 2012
@@ -0,0 +1,5 @@
+Apache Commons Privilizer
+Copyright 2012 The Apache Software Foundation
+
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
Propchange: commons/sandbox/privilizer/trunk/NOTICE.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: commons/sandbox/privilizer/trunk/ant/lib/pom.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/ant/lib/pom.xml?rev=1411058&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/ant/lib/pom.xml (added)
+++ commons/sandbox/privilizer/trunk/ant/lib/pom.xml Mon Nov 19 03:54:31 2012
@@ -0,0 +1,136 @@
+<?xml version="1.0"?>
+<!--
+
+ Copyright the original author or authors.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ -->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-privilizer-antlib-parent</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>commons-privilizer-antlib</artifactId>
+ <name>Commons Privilizer Antlib</name>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <ant.version>1.8.4</ant.version>
+ <commons.osgi.import />
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-privilizer</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>1.8.4</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</version><!--$NO-MVN-MAN-VER$-->
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <!-- shade plugin creates but does not clean ${basedir}/dependency-reduced-pom.xml -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>${basedir}</directory>
+ <includes>
+ <include>dependency-reduced-pom.xml</include>
+ </includes>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>2.0</version>
+ <executions>
+ <execution>
+ <id>shade</id>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <minimizeJar>true</minimizeJar>
+ <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+ <relocations>
+ <relocation>
+ <pattern>org.apache.commons.lang3.</pattern>
+ <shadedPattern>org.apache.commons.privilizer.ant._lang3.</shadedPattern>
+ </relocation>
+ <relocation>
+ <pattern>org.apache.commons.io.</pattern>
+ <shadedPattern>org.apache.commons.privilizer.ant._io.</shadedPattern>
+ </relocation>
+ <relocation>
+ <pattern>org.apache.xbean.</pattern>
+ <shadedPattern>org.apache.commons.privilizer.ant._xbean.</shadedPattern>
+ </relocation>
+ <relocation>
+ <pattern>javassist.</pattern>
+ <shadedPattern>org.apache.commons.privilizer.ant._javassist.</shadedPattern>
+ </relocation>
+ </relocations>
+ <artifactSet>
+ <excludes>
+ <exclude>org.apache.commons:commons-privilizer-api</exclude>
+ </excludes>
+ </artifactSet>
+ <filters>
+ <filter>
+ <artifact>org.apache.commons:commons-lang3</artifact>
+ <excludes>
+ <exclude>META-INF/**</exclude>
+ </excludes>
+ </filter>
+ <filter>
+ <artifact>commons-io:commons-io</artifact>
+ <excludes>
+ <exclude>META-INF/**</exclude>
+ </excludes>
+ </filter>
+ <filter>
+ <artifact>org.apache.xbean:*</artifact>
+ <excludes>
+ <exclude>META-INF/**</exclude>
+ </excludes>
+ </filter>
+ <filter>
+ <artifact>org.javassist:javassist</artifact>
+ <excludes>
+ <exclude>META-INF/**</exclude>
+ </excludes>
+ </filter>
+ </filters>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Propchange: commons/sandbox/privilizer/trunk/ant/lib/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/PrepareTask.java
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/PrepareTask.java?rev=1411058&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/PrepareTask.java (added)
+++ commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/PrepareTask.java Mon Nov 19 03:54:31 2012
@@ -0,0 +1,38 @@
+/*
+ * Copyright the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.privilizer.ant;
+
+import org.apache.tools.ant.BuildException;
+
+/**
+ * Privileged method weaving preparation Ant task (deletes classfiles woven with
+ * a different policy).
+ */
+public class PrepareTask extends PrivilegedTask {
+
+ @Override
+ public void execute() throws BuildException {
+ if (!getTarget().isDirectory()) {
+ return;
+ }
+ try {
+ createWeaver().prepare();
+ } catch (Exception e) {
+ throw new BuildException(e);
+ }
+ }
+
+}
Propchange: commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/PrepareTask.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/PrivilegedTask.java
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/PrivilegedTask.java?rev=1411058&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/PrivilegedTask.java (added)
+++ commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/PrivilegedTask.java Mon Nov 19 03:54:31 2012
@@ -0,0 +1,159 @@
+/*
+ * Copyright the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.privilizer.ant;
+
+import java.io.File;
+import java.net.URLClassLoader;
+import java.util.Arrays;
+
+import org.apache.commons.lang3.ObjectUtils;
+import org.apache.commons.lang3.StringUtils;
+import org.apache.commons.lang3.Validate;
+import org.apache.commons.privilizer.weave.AccessLevel;
+import org.apache.commons.privilizer.weave.FilesystemPrivilizer;
+import org.apache.commons.privilizer.weave.URLArray;
+import org.apache.commons.privilizer.weave.Privilizer.Log;
+import org.apache.commons.privilizer.weave.Privilizer.Policy;
+import org.apache.tools.ant.BuildException;
+import org.apache.tools.ant.Project;
+import org.apache.tools.ant.Task;
+import org.apache.tools.ant.types.Path;
+import org.apache.tools.ant.types.Reference;
+
+
+/**
+ * abstract privileged method weaving Ant task.
+ */
+public abstract class PrivilegedTask extends Task {
+ private Policy policy;
+ private File target;
+ private Path classpath;
+ private String classpathref;
+ private AccessLevel accessLevel;
+
+ @Override
+ public abstract void execute() throws BuildException;
+
+ protected FilesystemPrivilizer createWeaver() {
+ Validate.notNull(getTarget(), "target");
+
+ final Path p = new Path(getProject());
+ final Path cp = getClasspath();
+ if (cp != null) {
+ p.add(cp);
+ }
+ p.add(Path.systemClasspath);
+
+ log("Using " + p.toString(), Project.MSG_DEBUG);
+ final ClassLoader loader = new URLClassLoader(URLArray.fromPaths(Arrays.asList(p.list())));
+
+ return new FilesystemPrivilizer(getPolicy(), loader, getTarget()) {
+ @Override
+ protected boolean permitMethodWeaving(AccessLevel accessLevel) {
+ return getAccessLevel().compareTo(accessLevel) <= 0;
+ }
+ }.loggingTo(new Log() {
+
+ @Override
+ public void info(String message) {
+ log(message);
+ }
+
+ @Override
+ public void error(String message) {
+ log(message, Project.MSG_ERR);
+ }
+
+ @Override
+ public void debug(String message) {
+ log(message, Project.MSG_DEBUG);
+ }
+
+ @Override
+ public void verbose(String message) {
+ log(message, Project.MSG_VERBOSE);
+ }
+
+ @Override
+ public void warn(String message) {
+ log(message, Project.MSG_WARN);
+ }
+ });
+ }
+
+ protected Path getClasspath() {
+ if (classpath == null) {
+ if (getClasspathref() != null) {
+ Path ref = new Path(getProject());
+ ref.setRefid(new Reference(getProject(), getClasspathref()));
+ return ref;
+ }
+ } else if (StringUtils.isNotBlank(getClasspathref())) {
+ throw new BuildException("Only one of classpathref|classpath is permitted.");
+ }
+ return classpath;
+ }
+
+ public void setClasspath(Path classpath) {
+ if (this.classpath != null) {
+ throw new BuildException("classpath already set");
+ }
+ this.classpath = classpath;
+ }
+
+ protected Policy getPolicy() {
+ return ObjectUtils.defaultIfNull(policy, Policy.DYNAMIC);
+ }
+
+ /**
+ * Set the weaving policy (default DYNAMIC i.e. checks SecurityManager on
+ * each invocation)
+ *
+ * @param policy
+ */
+ public void setPolicy(Policy policy) {
+ this.policy = policy;
+ }
+
+ protected File getTarget() {
+ return target;
+ }
+
+ public void setTarget(File target) {
+ this.target = target;
+ }
+
+ protected String getClasspathref() {
+ return classpathref;
+ }
+
+ public void setClasspathRef(String classpathref) {
+ this.classpathref = classpathref;
+ }
+
+ protected AccessLevel getAccessLevel() {
+ return ObjectUtils.defaultIfNull(accessLevel, AccessLevel.PACKAGE);
+ }
+
+ /**
+ * Set "minimum" access level to be woven (default PACKAGE).
+ *
+ * @param accessLevel
+ */
+ public void setAccessLevel(AccessLevel accessLevel) {
+ this.accessLevel = accessLevel;
+ }
+}
Propchange: commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/PrivilegedTask.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/WeaveTask.java
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/WeaveTask.java?rev=1411058&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/WeaveTask.java (added)
+++ commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/WeaveTask.java Mon Nov 19 03:54:31 2012
@@ -0,0 +1,34 @@
+/*
+ * Copyright the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.privilizer.ant;
+
+import org.apache.tools.ant.BuildException;
+
+/**
+ * Privileged method weaving Ant task.
+ */
+public class WeaveTask extends PrivilegedTask {
+
+ @Override
+ public void execute() throws BuildException {
+ try {
+ createWeaver().weaveAll();
+ } catch (Exception e) {
+ throw new BuildException(e);
+ }
+ }
+
+}
Propchange: commons/sandbox/privilizer/trunk/ant/lib/src/main/java/org/apache/commons/privilizer/ant/WeaveTask.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: commons/sandbox/privilizer/trunk/ant/lib/src/main/resources/org/apache/commons/privilizer/ant/antlib.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/ant/lib/src/main/resources/org/apache/commons/privilizer/ant/antlib.xml?rev=1411058&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/ant/lib/src/main/resources/org/apache/commons/privilizer/ant/antlib.xml (added)
+++ commons/sandbox/privilizer/trunk/ant/lib/src/main/resources/org/apache/commons/privilizer/ant/antlib.xml Mon Nov 19 03:54:31 2012
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<!--
+
+ Copyright the original author or authors.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ -->
+<antlib>
+ <taskdef name="prepare" classname="org.apache.commons.privilizer.ant.PrepareTask" />
+ <taskdef name="weave" classname="org.apache.commons.privilizer.ant.WeaveTask" />
+</antlib>
\ No newline at end of file
Propchange: commons/sandbox/privilizer/trunk/ant/lib/src/main/resources/org/apache/commons/privilizer/ant/antlib.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: commons/sandbox/privilizer/trunk/ant/pom.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/ant/pom.xml?rev=1411058&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/ant/pom.xml (added)
+++ commons/sandbox/privilizer/trunk/ant/pom.xml Mon Nov 19 03:54:31 2012
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright the original author or authors.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ --><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-privilizer-parent</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>commons-privilizer-antlib-parent</artifactId>
+ <name>Commons Privilizer Antlib Parent</name>
+ <packaging>pom</packaging>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <configuration>
+ <locales>en,fr</locales>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <modules>
+ <module>lib</module>
+ <module>test</module>
+ </modules>
+</project>
Propchange: commons/sandbox/privilizer/trunk/ant/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: commons/sandbox/privilizer/trunk/ant/src/site/apt/format.apt
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/ant/src/site/apt/format.apt?rev=1411058&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/ant/src/site/apt/format.apt (added)
+++ commons/sandbox/privilizer/trunk/ant/src/site/apt/format.apt Mon Nov 19 03:54:31 2012
@@ -0,0 +1,602 @@
+ -----
+ The APT format
+ -----
+ The Maven Team
+ -----
+ -----
+
+The APT format
+~~~~~~~~~~~~~~
+
+ In the following section, boxes containing text in typewriter-like font are
+ examples of APT source.
+
+* Document structure
+~~~~~~~~~~~~~~~~~~~~
+
+ A short APT document is contained in a single text file. A longer document
+ may be contained in a ordered list of text files. For instance, first text
+ file contains section 1, second text file contains section 2, and so on.
+
+ [Note:] Splitting the APT document in several text files on a section
+ boundary is not mandatory. The split may occur anywhere.
+ However doing so is recommended because a text file containing a
+ section is by itself a valid APT document.
+
+ A file contains a sequence of paragraphs and ``displays'' (non paragraphs
+ such as tables) separated by open lines.
+
+ A paragraph is simply a sequence of consecutive text lines.
+
++------------------------------------------------------------------------+
+ First line of first paragraph.
+ Second line of first paragraph.
+ Third line of first paragraph.
+
+ Line 1 of paragraph 2 (separated from first paragraph by an open line).
+ Line 2 of paragraph 2.
++------------------------------------------------------------------------+
+
+ The indentation of the first line of a paragraph is the main method used by
+ an APT processor to recognize the type of the paragraph. For example, a
+ section title must not be indented at all.
+
+ A ``plain'' paragraph must be indented by a certain amount of space. For
+ example, a plain paragraph which is not contained in a list may be indented
+ by two spaces.
+
++-------------------------------------------------+
+My section title (not indented).
+
+ My paragraph first line (indented by 2 spaces).
++-------------------------------------------------+
+
+ Indentation is not rigid. Any amount of space will do. You don't even need
+ to use a consistent indentation all over your document. What really matters
+ for an APT processor is whether the paragraph is not indented at all or,
+ when inside a list, whether a paragraph is more or less indented than the
+ first item of the list (more about this later).
+
++-------------------------------------------------------+
+ First paragraph has its first line indented by four
+spaces. Then the author did even bother to indent the
+other lines of the paragraph.
+
+ Second paragraph contains several lines which are all
+ indented by two spaces. This style is much nicer than
+ the one used for the previous paragraph.
++-------------------------------------------------------+
+
+ Note that tabs are expanded with a tab width set to 8.
+
+* Document elements
+~~~~~~~~~~~~~~~~~~~
+
+** Block level elements
+~~~~~~~~~~~~~~~~~~~~~~~
+
+*** Title
+~~~~~~~~~~
+
+ A title is optional. If used, it must appear as the first block of the
+ document.
+
++----------------------------------------------------------------------------+
+ ------
+ Title
+ ------
+ Author
+ ------
+ Date
++----------------------------------------------------------------------------+
+
+ A title block is indented (centering it is nicer). It begins with a line
+ containing at least 3 dashes (<<<--->>>).
+
+ After the first <<<--->>> line, one or several consecutive lines of text
+ (implicit line break after each line) specify the title of the document.
+
+ This text may immediately be followed by another <<<--->>> line and one or
+ several consecutive lines of text which specifies the author of the
+ document.
+
+ The author sub-block may optionaly be followed by a date sub-block using the
+ same syntax.
+
+ The following example is used for a document with an title and a date but
+ with no declared author.
+
++----------------------------------------------------------------------------+
+ ------
+ Title
+ ------
+ ------
+ Date
+ ------
++----------------------------------------------------------------------------+
+
+ The last line is ignored. It is just there to make the block nicer.
+
+*** Paragraph
+~~~~~~~~~~~~~
+
+ Paragraphs other than the title block may appear before the first section.
+
++----------------------+
+ Paragraph 1, line 1.
+ Paragraph 1, line 2.
+
+ Paragraph 2, line 1.
+ Paragraph 2, line 2.
++----------------------+
+
+ Paragraphs are indented. They have already been described in the {{document
+ structure}} section.
+
+*** Section
+~~~~~~~~~~~
+
+ Sections are created by inserting section titles into the document. Simple
+ documents need not contain sections.
+
++-----------------------------------+
+Section title
+
+* Sub-section title
+
+** Sub-sub-section title
+
+*** Sub-sub-sub-section title
+
+**** Sub-sub-sub-sub-section title
++-----------------------------------+
+
+ Section titles are not indented. A sub-section title begins with one
+ asterisk (<<<*>>>), a sub-sub-section title begins with two asterisks
+ (<<<**>>>), and so forth up to four sub-section levels.
+
+*** List
+~~~~~~~~
+
++---------------------------------------+
+ * List item 1.
+
+ * List item 2.
+
+ Paragraph contained in list item 2.
+
+ * Sub-list item 1.
+
+ * Sub-list item 2.
+
+ * List item 3.
++---------------------------------------+
+
+ List items are indented and begin with a asterisk (<<<*>>>).
+
+ Plain paragraphs more indented than the first list item are nested in that
+ list. Displays such as tables (not indented) are always nested in the
+ current list.
+
+ To nest a list inside a list, indent its first item more than its parent
+ list. To end a list, add a paragraph or list item less indented than the
+ current list.
+
+ Section titles always end a list. Displays cannot end a list but the
+ <<<[]>>> pseudo-element may be used to force the end of a list.
+
++------------------------------------+
+ * List item 3.
+ Force end of list:
+
+ []
+
+--------------------------------------------
+Verbatim text not contained in list item 3
+--------------------------------------------
++------------------------------------+
+
+ In the previous example, without the <<<[]>>>, the verbatim text (not
+ indented as all displays) would have been contained in list item 3.
+
+ A single <<<[]>>> may be used to end several nested lists at the same
+ time. The indentation of <<<[]>>> may be used to specify exactly which
+ lists should be ended. Example:
+
++------------------------------------+
+ * List item 1.
+
+ * List item 2.
+
+ * Sub-list item 1.
+
+ * Sub-list item 2.
+
+ []
+
+-------------------------------------------------------------------
+Verbatim text contained in list item 2, but not in sub-list item 2
+-------------------------------------------------------------------
++------------------------------------+
+
+ There are three kind of lists, the bulleted lists we have already described,
+ the numbered lists and the definition lists.
+
++-----------------------------------------+
+ [[1]] Numbered item 1.
+
+ [[A]] Numbered item A.
+
+ [[B]] Numbered item B.
+
+ [[2]] Numbered item 2.
++-----------------------------------------+
+
+ A numbered list item begins with a label beetween two square brackets. The
+ label of the first item establishes the numbering scheme for the whole list:
+
+ [<<<[[1\]\]>>>] Decimal numbering: 1, 2, 3, 4, etc.
+
+ [<<<[[a\]\]>>>] Lower-alpha numbering: a, b, c, d, etc.
+
+ [<<<[[A\]\]>>>] Upper-alpha numbering: A, B, C, D, etc.
+
+ [<<<[[i\]\]>>>] Lower-roman numbering: i, ii, iii, iv, etc.
+
+ [<<<[[I\]\]>>>] Upper-roman numbering: I, II, III, IV, etc.
+
+ The labels of the items other than the first one are ignored. It is
+ recommended to take the time to type the correct label for each item in
+ order to keep the APT source document readable.
+
++-------------------------------------------+
+ [Defined term 1] of definition list 2.
+
+ [Defined term 2] of definition list 2.
++-------------------------------------------+
+
+ A definition list item begins with a defined term: text between square
+ brackets.
+
+*** Verbatim text
+~~~~~~~~~~~~~~~~~
+
++----------------------------------------+
+----------------------------------------
+Verbatim
+ text,
+ preformatted,
+ escaped.
+----------------------------------------
++----------------------------------------+
+
+ A verbatim block is not indented. It begins with a non indented line
+ containing at least 3 dashes (<<<--->>>). It ends with a similar line.
+
+ <<<+-->>> instead of <<<--->>> draws a box around verbatim text.
+
+ Like in HTML, verbatim text is preformatted. Unlike HTML, verbatim text is
+ escaped: inside a verbatim display, markup is not interpreted by the APT
+ processor.
+
+*** Figure
+~~~~~~~~~~
+
++---------------------------+
+[Figure name] Figure caption
++---------------------------+
+
+ A figure block is not indented. It begins with the figure name between
+ square brackets. The figure name is optionally followed by some text: the
+ figure caption.
+
+ The figure name is the pathname of the file containing the figure but
+ without an extension. Example: if your figure is contained in
+ <<</home/joe/docs/mylogo.jpeg>>>, the figure name is
+ <<</home/joe/docs/mylogo>>>.
+
+ If the figure name comes from a relative pathname (recommended practice)
+ rather than from an absolute pathname, this relative pathname is taken to be
+ relative to the directory of the current APT document (a la HTML)
+ rather than relative to the current working directory.
+
+ Why not leave the file extension in the figure name? This is better
+ explained by an example. You need to convert an APT document to PostScript
+ and your figure name is <<</home/joe/docs/mylogo>>>. A APT processor will
+ first try to load <<</home/joe/docs/mylogo.eps>>>. When the desired format
+ is not found, a APT processor tries to convert one of the existing
+ formats. In our example, the APT processor tries to convert
+ <<</home/joe/docs/mylogo.jpeg>>> to encapsulated PostScript.
+
+*** Table
+~~~~~~~~~
+
+ A table block is not indented. It begins with a non indented line containing
+ an asterisk and at least 2 dashes (<<<*-->>>). It ends with a
+ similar line.
+
+ The first line is not only used to recognize a table but also to specify
+ column justification. In the following example,
+
+ * the second asterisk (<<<*>>>) is used to specify that column 1 is
+ centered,
+
+ * the plus sign (<<<+>>>) specifies that column 2 is left aligned,
+
+ * the colon (<<<:>>>) specifies that column 3 is right aligned.
+
+ []
+
++---------------------------------------------+
+*----------*--------------+----------------:
+| Centered | Left-aligned | Right-aligned |
+| cell 1,1 | cell 1,2 | cell 1,3 |
+*----------*--------------+----------------:
+| cell 2,1 | cell 2,2 | cell 2,3 |
+*----------*--------------+----------------:
+Table caption
++---------------------------------------------+
+
+ Rows are separated by a non indented line beginning with <<<*-->>>.
+
+ An optional table caption (non indented text) may immediately follow the
+ table.
+
+ Rows may contain single line or multiple line cells. Each line of cell text
+ is separated from the adjacent cell by the pipe character (<<<|>>>).
+ (<<<|>>> may be used in the cell text if quoted: <<<\\|>>>.)
+
+ The last <<<|>>> is only used to make the table nicer. The first <<<|>>> is
+ not only used to make the table nicer, but also to specify that a grid is to
+ be drawn around table cells.
+
+ The following example shows a simple table with no grid and no caption.
+
++---------------+
+*-----*------*
+ cell | cell
+*-----*------*
+ cell | cell
+*-----*------*
++---------------+
+
+*** Horizontal rule
+~~~~~~~~~~~~~~~~~~~
+
++---------------------+
+=====================
++---------------------+
+
+ A non indented line containing at least 3 equal signs (<<<===>>>).
+
+*** Page break
+~~~~~~~~~~~~~~
+
++---+
+^L
++---+
+
+ A non indented line containing a single form feed character (Control-L).
+
+** Text level elements
+~~~~~~~~~~~~~~~~~~~~~~
+
+*** Font
+~~~~~~~~
+
++-----------------------------------------------------+
+ <Italic> font. <<Bold>> font. <<<Monospaced>>> font.
++-----------------------------------------------------+
+
+ Text between \< and > must be rendered in italic. Text between \<\< and >>
+ must be rendered in bold. Text between \<\<\< and >>> must be rendered using
+ a monospaced, typewriter-like font.
+
+ Font elements may appear anywhere except inside other font elements.
+
+ It is not recommended to use font elements inside titles, section titles,
+ links and defined terms because a APT processor automatically applies
+ appropriate font styles to these elements.
+
+*** Anchor and link
+~~~~~~~~~~~~~~~~~~~
+
++-----------------------------------------------------------------+
+ {Anchor}. Link to {{anchor}}. Link to {{http://www.pixware.fr}}.
+ Link to {{{anchor}showing alternate text}}.
+ Link to {{{http://www.pixware.fr}Pixware home page}}.
++-----------------------------------------------------------------+
+
+ Text between curly braces (<<<\{}>>>) specifies an anchor. Text between
+ double curly braces (<<<\{\{}}>>>) specifies a link.
+
+ It is an error to create a link element that does not refer to an anchor of
+ the same name. The name of an anchor/link is its text with all non
+ alphanumeric characters stripped.
+
+ This rule does not apply to links to <external> anchors. Text beginning
+ with <<<http:/>>>, <<<https:/>>>, <<<ftp:/>>>, <<<file:/>>>, <<<mailto:>>>,
+ <<<../>>>, <<<./>>> (<<<..\\>>> and <<<.\\>>> on Windows) is recognized as
+ an external anchor name.
+
+ When the construct <<\{\{\{>><name><<}>><text><<}}>> is used, the link text
+ <text> may differ from the link name <name>.
+
+ Anchor/link elements may appear anywhere except inside other anchor/link
+ elements.
+
+ Section titles are implicitly defined anchors.
+
+*** Line break
+~~~~~~~~~~~~~~
+
++-------------+
+ Force line\
+ break.
++-------------+
+
+ A backslash character (<<<\\>>>) followed by a newline character.
+
+ Line breaks must not be used inside titles and tables (which are line
+ oriented blocks with implicit line breaks).
+
+*** Non breaking space
+~~~~~~~~~~~~~~~~~~~~~~
+
++----------------------+
+ Non\ breaking\ space.
++----------------------+
+
+ A backslash character (<<<\\>>>) followed by a space character.
+
+*** Special character
+~~~~~~~~~~~~~~~~~~~~~
+
++---------------------------------------------------------------------------+
+ Escaped special characters: \~, \=, \-, \+, \*, \[, \], \<, \>, \{, \}, \\.
++---------------------------------------------------------------------------+
+
+ In certain contexts, these characters have a special meaning and therefore
+ must be escaped if needed as is. They are escaped by adding a backslash in
+ front of them. The backslash may itself be escaped by adding another
+ backslash in front of it.
+
+ Note that an asterisk, for example, needs to be escaped only if its begins a
+ paragraph. (<<<*>>> has no special meaning in the middle of a paragraph.)
+
++--------------------------------------+
+ Copyright symbol: \251, \xA9, \u00a9.
++--------------------------------------+
+
+ Latin-1 characters (whatever is the encoding of the APT document) may be
+ specified by their codes using a backslash followed by one to three octal
+ digits or by using the <<<\x>>><NN> notation, where <NN> are two hexadecimal
+ digits.
+
+ Unicode characters may be specified by their codes using the <<<\u>>><NNNN>
+ notation, where <NNNN> are four hexadecimal digits.
+
+*** Comment
+~~~~~~~~~~~
+
++---------------+
+~~Commented out.
++---------------+
+
+ Text found after two tildes (<<<\~~>>>) is ignored up to the end of line.
+
+ A line of <<<~>>> is often used to ``underline'' section titles in order to
+ make them stand out of other paragraphs.
+
+
+* The APT format at a glance
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+------------------------------------------------------------------------------
+ ------
+ Title
+ ------
+ Author
+ ------
+ Date
+
+ Paragraph 1, line 1.
+ Paragraph 1, line 2.
+
+ Paragraph 2, line 1.
+ Paragraph 2, line 2.
+
+Section title
+
+* Sub-section title
+
+** Sub-sub-section title
+
+*** Sub-sub-sub-section title
+
+**** Sub-sub-sub-sub-section title
+
+ * List item 1.
+
+ * List item 2.
+
+ Paragraph contained in list item 2.
+
+ * Sub-list item 1.
+
+ * Sub-list item 2.
+
+ * List item 3.
+ Force end of list:
+
+ []
+
++------------------------------------------+
+Verbatim text not contained in list item 3
++------------------------------------------+
+
+ [[1]] Numbered item 1.
+
+ [[A]] Numbered item A.
+
+ [[B]] Numbered item B.
+
+ [[2]] Numbered item 2.
+
+ List numbering schemes: [[1]], [[a]], [[A]], [[i]], [[I]].
+
+ [Defined term 1] of definition list.
+
+ [Defined term 2] of definition list.
+
++-------------------------------+
+Verbatim text
+ in a box
++-------------------------------+
+
+ --- instead of +-- suppresses the box around verbatim text.
+
+[Figure name] Figure caption
+
+*----------*--------------+----------------:
+| Centered | Left-aligned | Right-aligned |
+| cell 1,1 | cell 1,2 | cell 1,3 |
+*----------*--------------+----------------:
+| cell 2,1 | cell 2,2 | cell 2,3 |
+*----------*--------------+----------------:
+Table caption
+
+ No grid, no caption:
+
+*-----*------*
+ cell | cell
+*-----*------*
+ cell | cell
+*-----*------*
+
+ Horizontal line:
+
+=======================================================================
+
+^L
+ New page.
+
+ <Italic> font. <<Bold>> font. <<<Monospaced>>> font.
+
+ {Anchor}. Link to {{anchor}}. Link to {{http://www.pixware.fr}}.
+ Link to {{{anchor}showing alternate text}}.
+ Link to {{{http://www.pixware.fr}Pixware home page}}.
+
+ Force line\
+ break.
+
+ Non\ breaking\ space.
+
+ Escaped special characters: \~, \=, \-, \+, \*, \[, \], \<, \>, \{, \}, \\.
+
+ Copyright symbol: \251, \xA9, \u00a9.
+
+~~Commented out.
+
+------------------------------------------------------------------------------
+
Added: commons/sandbox/privilizer/trunk/ant/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/ant/src/site/apt/index.apt?rev=1411058&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/ant/src/site/apt/index.apt (added)
+++ commons/sandbox/privilizer/trunk/ant/src/site/apt/index.apt Mon Nov 19 03:54:31 2012
@@ -0,0 +1,16 @@
+ -----
+ The Site
+ -----
+ The Maven Team
+ -----
+
+Maven Site for your project
+
+ Congratulations! If you are looking at this page then you have successfully generated a
+ template site employing the site archetype and you have run:
+
++-----+
+
+mvn site
+
++-----+
Added: commons/sandbox/privilizer/trunk/ant/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/ant/src/site/fml/faq.fml?rev=1411058&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/ant/src/site/fml/faq.fml (added)
+++ commons/sandbox/privilizer/trunk/ant/src/site/fml/faq.fml Mon Nov 19 03:54:31 2012
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<faqs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/FML/1.0"
+ xsi:schemaLocation="http://maven.apache.org/FML/1.0 http://maven.apache.org/xsd/fml-1.0.xsd"
+ id="General FAQ">
+ <part id="General">
+ <faq id="where">
+ <question>Where did Maven come from?</question>
+ <answer>
+ <p>
+ Maven was created by a group of software developers who were tired
+ of wasting their time fiddling around with builds and wanted to get
+ down to brass tacks and actually develop software!
+ </p>
+ </answer>
+ </faq>
+ <faq id="why">
+ <question>Why is Maven so wildly popular?</question>
+ <answer>
+ <p>
+ Maven saves you so much time in your software development efforts that
+ you will have time to learn a second language, relax ten hours a
+ day, and train for that marathon you've always wanted to run!
+ </p>
+ </answer>
+ </faq>
+ </part>
+</faqs>
Added: commons/sandbox/privilizer/trunk/ant/src/site/fr/apt/format.apt
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/ant/src/site/fr/apt/format.apt?rev=1411058&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/ant/src/site/fr/apt/format.apt (added)
+++ commons/sandbox/privilizer/trunk/ant/src/site/fr/apt/format.apt Mon Nov 19 03:54:31 2012
@@ -0,0 +1,602 @@
+ -----
+ Le format APT
+ -----
+ L'équipe Maven
+ -----
+ -----
+
+Le format APT
+~~~~~~~~~~~~~
+
+ Dans la section suivante, les boîtes contenant du texte dans la police
+ de type machine à écrire sont des exemples de source APT.
+
+* Structure du document
+~~~~~~~~~~~~~~~~~~~~~~~
+
+ A short APT document is contained in a single text file. A longer document
+ may be contained in a ordered list of text files. For instance, first text
+ file contains section 1, second text file contains section 2, and so on.
+
+ [Note:] Splitting the APT document in several text files on a section
+ boundary is not mandatory. The split may occur anywhere.
+ However doing so is recommended because a text file containing a
+ section is by itself a valid APT document.
+
+ A file contains a sequence of paragraphs and ``displays'' (non paragraphs
+ such as tables) separated by open lines.
+
+ A paragraph is simply a sequence of consecutive text lines.
+
++------------------------------------------------------------------------+
+ First line of first paragraph.
+ Second line of first paragraph.
+ Third line of first paragraph.
+
+ Line 1 of paragraph 2 (separated from first paragraph by an open line).
+ Line 2 of paragraph 2.
++------------------------------------------------------------------------+
+
+ The indentation of the first line of a paragraph is the main method used by
+ an APT processor to recognize the type of the paragraph. For example, a
+ section title must not be indented at all.
+
+ A ``plain'' paragraph must be indented by a certain amount of space. For
+ example, a plain paragraph which is not contained in a list may be indented
+ by two spaces.
+
++-------------------------------------------------+
+My section title (not indented).
+
+ My paragraph first line (indented by 2 spaces).
++-------------------------------------------------+
+
+ Indentation is not rigid. Any amount of space will do. You don't even need
+ to use a consistent indentation all over your document. What really matters
+ for an APT processor is whether the paragraph is not indented at all or,
+ when inside a list, whether a paragraph is more or less indented than the
+ first item of the list (more about this later).
+
++-------------------------------------------------------+
+ First paragraph has its first line indented by four
+spaces. Then the author did even bother to indent the
+other lines of the paragraph.
+
+ Second paragraph contains several lines which are all
+ indented by two spaces. This style is much nicer than
+ the one used for the previous paragraph.
++-------------------------------------------------------+
+
+ Note that tabs are expanded with a tab width set to 8.
+
+* Document elements
+~~~~~~~~~~~~~~~~~~~
+
+** Block level elements
+~~~~~~~~~~~~~~~~~~~~~~~
+
+*** Title
+~~~~~~~~~~
+
+ A title is optional. If used, it must appear as the first block of the
+ document.
+
++----------------------------------------------------------------------------+
+ ------
+ Title
+ ------
+ Author
+ ------
+ Date
++----------------------------------------------------------------------------+
+
+ A title block is indented (centering it is nicer). It begins with a line
+ containing at least 3 dashes (<<<--->>>).
+
+ After the first <<<--->>> line, one or several consecutive lines of text
+ (implicit line break after each line) specify the title of the document.
+
+ This text may immediately be followed by another <<<--->>> line and one or
+ several consecutive lines of text which specifies the author of the
+ document.
+
+ The author sub-block may optionaly be followed by a date sub-block using the
+ same syntax.
+
+ The following example is used for a document with an title and a date but
+ with no declared author.
+
++----------------------------------------------------------------------------+
+ ------
+ Title
+ ------
+ ------
+ Date
+ ------
++----------------------------------------------------------------------------+
+
+ The last line is ignored. It is just there to make the block nicer.
+
+*** Paragraph
+~~~~~~~~~~~~~
+
+ Paragraphs other than the title block may appear before the first section.
+
++----------------------+
+ Paragraph 1, line 1.
+ Paragraph 1, line 2.
+
+ Paragraph 2, line 1.
+ Paragraph 2, line 2.
++----------------------+
+
+ Paragraphs are indented. They have already been described in the {{document
+ structure}} section.
+
+*** Section
+~~~~~~~~~~~
+
+ Sections are created by inserting section titles into the document. Simple
+ documents need not contain sections.
+
++-----------------------------------+
+Section title
+
+* Sub-section title
+
+** Sub-sub-section title
+
+*** Sub-sub-sub-section title
+
+**** Sub-sub-sub-sub-section title
++-----------------------------------+
+
+ Section titles are not indented. A sub-section title begins with one
+ asterisk (<<<*>>>), a sub-sub-section title begins with two asterisks
+ (<<<**>>>), and so forth up to four sub-section levels.
+
+*** List
+~~~~~~~~
+
++---------------------------------------+
+ * List item 1.
+
+ * List item 2.
+
+ Paragraph contained in list item 2.
+
+ * Sub-list item 1.
+
+ * Sub-list item 2.
+
+ * List item 3.
++---------------------------------------+
+
+ List items are indented and begin with a asterisk (<<<*>>>).
+
+ Plain paragraphs more indented than the first list item are nested in that
+ list. Displays such as tables (not indented) are always nested in the
+ current list.
+
+ To nest a list inside a list, indent its first item more than its parent
+ list. To end a list, add a paragraph or list item less indented than the
+ current list.
+
+ Section titles always end a list. Displays cannot end a list but the
+ <<<[]>>> pseudo-element may be used to force the end of a list.
+
++------------------------------------+
+ * List item 3.
+ Force end of list:
+
+ []
+
+--------------------------------------------
+Verbatim text not contained in list item 3
+--------------------------------------------
++------------------------------------+
+
+ In the previous example, without the <<<[]>>>, the verbatim text (not
+ indented as all displays) would have been contained in list item 3.
+
+ A single <<<[]>>> may be used to end several nested lists at the same
+ time. The indentation of <<<[]>>> may be used to specify exactly which
+ lists should be ended. Example:
+
++------------------------------------+
+ * List item 1.
+
+ * List item 2.
+
+ * Sub-list item 1.
+
+ * Sub-list item 2.
+
+ []
+
+-------------------------------------------------------------------
+Verbatim text contained in list item 2, but not in sub-list item 2
+-------------------------------------------------------------------
++------------------------------------+
+
+ There are three kind of lists, the bulleted lists we have already described,
+ the numbered lists and the definition lists.
+
++-----------------------------------------+
+ [[1]] Numbered item 1.
+
+ [[A]] Numbered item A.
+
+ [[B]] Numbered item B.
+
+ [[2]] Numbered item 2.
++-----------------------------------------+
+
+ A numbered list item begins with a label beetween two square brackets. The
+ label of the first item establishes the numbering scheme for the whole list:
+
+ [<<<[[1\]\]>>>] Decimal numbering: 1, 2, 3, 4, etc.
+
+ [<<<[[a\]\]>>>] Lower-alpha numbering: a, b, c, d, etc.
+
+ [<<<[[A\]\]>>>] Upper-alpha numbering: A, B, C, D, etc.
+
+ [<<<[[i\]\]>>>] Lower-roman numbering: i, ii, iii, iv, etc.
+
+ [<<<[[I\]\]>>>] Upper-roman numbering: I, II, III, IV, etc.
+
+ The labels of the items other than the first one are ignored. It is
+ recommended to take the time to type the correct label for each item in
+ order to keep the APT source document readable.
+
++-------------------------------------------+
+ [Defined term 1] of definition list 2.
+
+ [Defined term 2] of definition list 2.
++-------------------------------------------+
+
+ A definition list item begins with a defined term: text between square
+ brackets.
+
+*** Verbatim text
+~~~~~~~~~~~~~~~~~
+
++----------------------------------------+
+----------------------------------------
+Verbatim
+ text,
+ preformatted,
+ escaped.
+----------------------------------------
++----------------------------------------+
+
+ A verbatim block is not indented. It begins with a non indented line
+ containing at least 3 dashes (<<<--->>>). It ends with a similar line.
+
+ <<<+-->>> instead of <<<--->>> draws a box around verbatim text.
+
+ Like in HTML, verbatim text is preformatted. Unlike HTML, verbatim text is
+ escaped: inside a verbatim display, markup is not interpreted by the APT
+ processor.
+
+*** Figure
+~~~~~~~~~~
+
++---------------------------+
+[Figure name] Figure caption
++---------------------------+
+
+ A figure block is not indented. It begins with the figure name between
+ square brackets. The figure name is optionally followed by some text: the
+ figure caption.
+
+ The figure name is the pathname of the file containing the figure but
+ without an extension. Example: if your figure is contained in
+ <<</home/joe/docs/mylogo.jpeg>>>, the figure name is
+ <<</home/joe/docs/mylogo>>>.
+
+ If the figure name comes from a relative pathname (recommended practice)
+ rather than from an absolute pathname, this relative pathname is taken to be
+ relative to the directory of the current APT document (a la HTML)
+ rather than relative to the current working directory.
+
+ Why not leave the file extension in the figure name? This is better
+ explained by an example. You need to convert an APT document to PostScript
+ and your figure name is <<</home/joe/docs/mylogo>>>. A APT processor will
+ first try to load <<</home/joe/docs/mylogo.eps>>>. When the desired format
+ is not found, a APT processor tries to convert one of the existing
+ formats. In our example, the APT processor tries to convert
+ <<</home/joe/docs/mylogo.jpeg>>> to encapsulated PostScript.
+
+*** Table
+~~~~~~~~~
+
+ A table block is not indented. It begins with a non indented line containing
+ an asterisk and at least 2 dashes (<<<*-->>>). It ends with a
+ similar line.
+
+ The first line is not only used to recognize a table but also to specify
+ column justification. In the following example,
+
+ * the second asterisk (<<<*>>>) is used to specify that column 1 is
+ centered,
+
+ * the plus sign (<<<+>>>) specifies that column 2 is left aligned,
+
+ * the colon (<<<:>>>) specifies that column 3 is right aligned.
+
+ []
+
++---------------------------------------------+
+*----------*--------------+----------------:
+| Centered | Left-aligned | Right-aligned |
+| cell 1,1 | cell 1,2 | cell 1,3 |
+*----------*--------------+----------------:
+| cell 2,1 | cell 2,2 | cell 2,3 |
+*----------*--------------+----------------:
+Table caption
++---------------------------------------------+
+
+ Rows are separated by a non indented line beginning with <<<*-->>>.
+
+ An optional table caption (non indented text) may immediately follow the
+ table.
+
+ Rows may contain single line or multiple line cells. Each line of cell text
+ is separated from the adjacent cell by the pipe character (<<<|>>>).
+ (<<<|>>> may be used in the cell text if quoted: <<<\\|>>>.)
+
+ The last <<<|>>> is only used to make the table nicer. The first <<<|>>> is
+ not only used to make the table nicer, but also to specify that a grid is to
+ be drawn around table cells.
+
+ The following example shows a simple table with no grid and no caption.
+
++---------------+
+*-----*------*
+ cell | cell
+*-----*------*
+ cell | cell
+*-----*------*
++---------------+
+
+*** Horizontal rule
+~~~~~~~~~~~~~~~~~~~
+
++---------------------+
+=====================
++---------------------+
+
+ A non indented line containing at least 3 equal signs (<<<===>>>).
+
+*** Page break
+~~~~~~~~~~~~~~
+
++---+
+^L
++---+
+
+ A non indented line containing a single form feed character (Control-L).
+
+** Text level elements
+~~~~~~~~~~~~~~~~~~~~~~
+
+*** Font
+~~~~~~~~
+
++-----------------------------------------------------+
+ <Italic> font. <<Bold>> font. <<<Monospaced>>> font.
++-----------------------------------------------------+
+
+ Text between \< and > must be rendered in italic. Text between \<\< and >>
+ must be rendered in bold. Text between \<\<\< and >>> must be rendered using
+ a monospaced, typewriter-like font.
+
+ Font elements may appear anywhere except inside other font elements.
+
+ It is not recommended to use font elements inside titles, section titles,
+ links and defined terms because a APT processor automatically applies
+ appropriate font styles to these elements.
+
+*** Anchor and link
+~~~~~~~~~~~~~~~~~~~
+
++-----------------------------------------------------------------+
+ {Anchor}. Link to {{anchor}}. Link to {{http://www.pixware.fr}}.
+ Link to {{{anchor}showing alternate text}}.
+ Link to {{{http://www.pixware.fr}Pixware home page}}.
++-----------------------------------------------------------------+
+
+ Text between curly braces (<<<\{}>>>) specifies an anchor. Text between
+ double curly braces (<<<\{\{}}>>>) specifies a link.
+
+ It is an error to create a link element that does not refer to an anchor of
+ the same name. The name of an anchor/link is its text with all non
+ alphanumeric characters stripped.
+
+ This rule does not apply to links to <external> anchors. Text beginning
+ with <<<http:/>>>, <<<https:/>>>, <<<ftp:/>>>, <<<file:/>>>, <<<mailto:>>>,
+ <<<../>>>, <<<./>>> (<<<..\\>>> and <<<.\\>>> on Windows) is recognized as
+ an external anchor name.
+
+ When the construct <<\{\{\{>><name><<}>><text><<}}>> is used, the link text
+ <text> may differ from the link name <name>.
+
+ Anchor/link elements may appear anywhere except inside other anchor/link
+ elements.
+
+ Section titles are implicitly defined anchors.
+
+*** Line break
+~~~~~~~~~~~~~~
+
++-------------+
+ Force line\
+ break.
++-------------+
+
+ A backslash character (<<<\\>>>) followed by a newline character.
+
+ Line breaks must not be used inside titles and tables (which are line
+ oriented blocks with implicit line breaks).
+
+*** Non breaking space
+~~~~~~~~~~~~~~~~~~~~~~
+
++----------------------+
+ Non\ breaking\ space.
++----------------------+
+
+ A backslash character (<<<\\>>>) followed by a space character.
+
+*** Special character
+~~~~~~~~~~~~~~~~~~~~~
+
++---------------------------------------------------------------------------+
+ Escaped special characters: \~, \=, \-, \+, \*, \[, \], \<, \>, \{, \}, \\.
++---------------------------------------------------------------------------+
+
+ In certain contexts, these characters have a special meaning and therefore
+ must be escaped if needed as is. They are escaped by adding a backslash in
+ front of them. The backslash may itself be escaped by adding another
+ backslash in front of it.
+
+ Note that an asterisk, for example, needs to be escaped only if its begins a
+ paragraph. (<<<*>>> has no special meaning in the middle of a paragraph.)
+
++--------------------------------------+
+ Copyright symbol: \251, \xA9, \u00a9.
++--------------------------------------+
+
+ Latin-1 characters (whatever is the encoding of the APT document) may be
+ specified by their codes using a backslash followed by one to three octal
+ digits or by using the <<<\x>>><NN> notation, where <NN> are two hexadecimal
+ digits.
+
+ Unicode characters may be specified by their codes using the <<<\u>>><NNNN>
+ notation, where <NNNN> are four hexadecimal digits.
+
+*** Comment
+~~~~~~~~~~~
+
++---------------+
+~~Commented out.
++---------------+
+
+ Text found after two tildes (<<<\~~>>>) is ignored up to the end of line.
+
+ A line of <<<~>>> is often used to ``underline'' section titles in order to
+ make them stand out of other paragraphs.
+
+
+* The APT format at a glance
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+------------------------------------------------------------------------------
+ ------
+ Title
+ ------
+ Author
+ ------
+ Date
+
+ Paragraph 1, line 1.
+ Paragraph 1, line 2.
+
+ Paragraph 2, line 1.
+ Paragraph 2, line 2.
+
+Section title
+
+* Sub-section title
+
+** Sub-sub-section title
+
+*** Sub-sub-sub-section title
+
+**** Sub-sub-sub-sub-section title
+
+ * List item 1.
+
+ * List item 2.
+
+ Paragraph contained in list item 2.
+
+ * Sub-list item 1.
+
+ * Sub-list item 2.
+
+ * List item 3.
+ Force end of list:
+
+ []
+
++------------------------------------------+
+Verbatim text not contained in list item 3
++------------------------------------------+
+
+ [[1]] Numbered item 1.
+
+ [[A]] Numbered item A.
+
+ [[B]] Numbered item B.
+
+ [[2]] Numbered item 2.
+
+ List numbering schemes: [[1]], [[a]], [[A]], [[i]], [[I]].
+
+ [Defined term 1] of definition list.
+
+ [Defined term 2] of definition list.
+
++-------------------------------+
+Verbatim text
+ in a box
++-------------------------------+
+
+ --- instead of +-- suppresses the box around verbatim text.
+
+[Figure name] Figure caption
+
+*----------*--------------+----------------:
+| Centered | Left-aligned | Right-aligned |
+| cell 1,1 | cell 1,2 | cell 1,3 |
+*----------*--------------+----------------:
+| cell 2,1 | cell 2,2 | cell 2,3 |
+*----------*--------------+----------------:
+Table caption
+
+ No grid, no caption:
+
+*-----*------*
+ cell | cell
+*-----*------*
+ cell | cell
+*-----*------*
+
+ Horizontal line:
+
+=======================================================================
+
+^L
+ New page.
+
+ <Italic> font. <<Bold>> font. <<<Monospaced>>> font.
+
+ {Anchor}. Link to {{anchor}}. Link to {{http://www.pixware.fr}}.
+ Link to {{{anchor}showing alternate text}}.
+ Link to {{{http://www.pixware.fr}Pixware home page}}.
+
+ Force line\
+ break.
+
+ Non\ breaking\ space.
+
+ Escaped special characters: \~, \=, \-, \+, \*, \[, \], \<, \>, \{, \}, \\.
+
+ Copyright symbol: \251, \xA9, \u00a9.
+
+~~Commented out.
+
+------------------------------------------------------------------------------
+
Added: commons/sandbox/privilizer/trunk/ant/src/site/fr/apt/index.apt
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/ant/src/site/fr/apt/index.apt?rev=1411058&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/ant/src/site/fr/apt/index.apt (added)
+++ commons/sandbox/privilizer/trunk/ant/src/site/fr/apt/index.apt Mon Nov 19 03:54:31 2012
@@ -0,0 +1,17 @@
+ -----
+ Le Site
+ -----
+ L'équipe Maven
+ -----
+
+Site Maven pour votre projet
+
+ Félicitations! Si vous regardez cette page alors vous avez
+ généré avec succès un modèle de site en utilisant l'archétype
+ de site et vous avez lancé :
+
++-----+
+
+mvn site
+
++-----+
Added: commons/sandbox/privilizer/trunk/ant/src/site/fr/fml/faq.fml
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/ant/src/site/fr/fml/faq.fml?rev=1411058&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/ant/src/site/fr/fml/faq.fml (added)
+++ commons/sandbox/privilizer/trunk/ant/src/site/fr/fml/faq.fml Mon Nov 19 03:54:31 2012
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<faqs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/FML/1.0"
+ xsi:schemaLocation="http://maven.apache.org/FML/1.0 http://maven.apache.org/xsd/fml-1.0.xsd"
+ id="FAQ Général">
+ <part id="General">
+ <faq id="where">
+ <question>D'où vient Maven ?</question>
+ <answer>
+ <p>
+ Maven was created by a group of software developers who were tired
+ of wasting their time fiddling around with builds and wanted to get
+ down to brass tacks and actually develop software!
+ </p>
+ </answer>
+ </faq>
+ <faq id="why">
+ <question>Pourquoi Maven est-il si populaire ?</question>
+ <answer>
+ <p>
+ Maven saves you so much time in your software development efforts that
+ you will have time to learn a second language, relax ten hours a
+ day, and train for that marathon you've always wanted to run!
+ </p>
+ </answer>
+ </faq>
+ </part>
+</faqs>
Added: commons/sandbox/privilizer/trunk/ant/src/site/fr/xdoc/xdoc.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/ant/src/site/fr/xdoc/xdoc.xml?rev=1411058&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/ant/src/site/fr/xdoc/xdoc.xml (added)
+++ commons/sandbox/privilizer/trunk/ant/src/site/fr/xdoc/xdoc.xml Mon Nov 19 03:54:31 2012
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+ <properties>
+ <title>Bienvenue</title>
+ <author email="dev@maven.apache.org">The Maven Team</author>
+ </properties>
+
+ <body>
+ <section name="Bienvenue dans un fichier XDOC!">
+ <p>
+ Ceci est du texte pour le fichier xdoc.
+ </p>
+ </section>
+ </body>
+</document>
+
Propchange: commons/sandbox/privilizer/trunk/ant/src/site/fr/xdoc/xdoc.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: commons/sandbox/privilizer/trunk/ant/src/site/site.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/ant/src/site/site.xml?rev=1411058&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/ant/src/site/site.xml (added)
+++ commons/sandbox/privilizer/trunk/ant/src/site/site.xml Mon Nov 19 03:54:31 2012
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<project name="Maven" xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
+ <bannerLeft>
+ <name>Maven</name>
+ <src>http://maven.apache.org/images/apache-maven-project.png</src>
+ <href>http://maven.apache.org/</href>
+ </bannerLeft>
+ <bannerRight>
+ <src>http://maven.apache.org/images/maven-small.gif</src>
+ </bannerRight>
+
+ <body>
+ <links>
+ <item name="Apache" href="http://www.apache.org/" />
+ <item name="Maven 1.0" href="http://maven.apache.org/"/>
+ <item name="Maven 2" href="http://maven.apache.org/maven2/"/>
+ </links>
+
+ <menu name="Maven 2.0">
+ <item name="APT Format" href="format.html"/>
+ <item name="FAQ" href="faq.html"/>
+ <item name="Xdoc Example" href="xdoc.html"/>
+ </menu>
+ </body>
+</project>
Propchange: commons/sandbox/privilizer/trunk/ant/src/site/site.xml
------------------------------------------------------------------------------
svn:eol-style = native