Restructured the directory tree and build file.
authorMarco Zanon <info@marcozanon.com>
Thu, 13 Dec 2018 14:15:18 +0000 (14:15 +0000)
committerMarco Zanon <info@marcozanon.com>
Thu, 13 Dec 2018 14:15:18 +0000 (14:15 +0000)
LICENSE [deleted file]
LICENSE.MIT.sample [deleted file]
LICENSES/LICENSE [new file with mode: 0644]
LICENSES/LICENSE.MIT.sample [new file with mode: 0644]
build.xml

diff --git a/LICENSE b/LICENSE
deleted file mode 100644 (file)
index 40635ba..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,7 +0,0 @@
-Macaco
-Copyright (c) 2009-2017 Marco Zanon <info@marcozanon.com>.
-
-Released under MIT license (see LICENSE.MIT.sample for details).
-
-Small portions inspired by other projects or web pages.
-See source code for additional information.
diff --git a/LICENSE.MIT.sample b/LICENSE.MIT.sample
deleted file mode 100644 (file)
index 8aa2645..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) [year] [fullname]
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/LICENSES/LICENSE b/LICENSES/LICENSE
new file mode 100644 (file)
index 0000000..40635ba
--- /dev/null
@@ -0,0 +1,7 @@
+Macaco
+Copyright (c) 2009-2017 Marco Zanon <info@marcozanon.com>.
+
+Released under MIT license (see LICENSE.MIT.sample for details).
+
+Small portions inspired by other projects or web pages.
+See source code for additional information.
diff --git a/LICENSES/LICENSE.MIT.sample b/LICENSES/LICENSE.MIT.sample
new file mode 100644 (file)
index 0000000..8aa2645
--- /dev/null
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) [year] [fullname]
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
index ac856e1cda02c35d026a139de3336921590f7990..97b64b0c94111d476c80068f26a2c2bc46410a6a 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -12,6 +12,7 @@
 
     <target name="clean" description="Cleans up everything.">
         <delete dir="target/" />
+        <delete dir="build/" />
     </target>
 
     <target name="createArchive" depends="clean" description="Packs source files into a .tar.gz archive.">
     </target>
 
     <target name="compile" depends="clean" description="Compiles .java source code to .class bytecode.">
-        <mkdir dir="target/classes/" />
-        <javac target="1.8" source="1.8" srcdir="src/java/" destdir="target/classes/">
+        <mkdir dir="build/classes/" />
+        <javac target="1.8" source="1.8" srcdir="src/java/" destdir="build/classes/">
             <compilerarg value="-Xlint:none" />
         </javac>
     </target>
 
     <target name="createJarFile" depends="compile" description="Creates a .jar file.">
         <jar destfile="target/${ant.project.name}.jar">
-            <fileset dir="target/classes/" includes="**/*.class" />
+            <fileset dir="build/classes/" includes="**/*.class" />
         </jar>
     </target>