Korean translation from Chang Hyun Park
[zxing.git] / javase / build.xml
index 1aa77ca..14f6d08 100644 (file)
@@ -1,8 +1,32 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Copyright 2007 ZXing 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 name="javase" default="build">
 
   <target name="init">
     <tstamp/>
+    <fail message="Please build 'core' first">
+      <condition>
+        <not>
+          <available file="../core/core.jar" type="file"/>
+        </not>
+      </condition>
+    </fail>
   </target>
 
   <target name="build" depends="init">
@@ -16,7 +40,6 @@
            deprecation="true">
       <classpath>
         <pathelement location="../core/core.jar"/>
-        <pathelement location="../core-ext/core-ext.jar"/>
       </classpath>
     </javac>
     <jar jarfile="javase.jar" basedir="build"/>