Compilation avec Ant

Compilation avec Ant - Java - Programmation

Marsh Posté le 31-03-2005 à 09:22:17    

Bonjour à tous, avant de tout laisser tomber je viens désespérement ici pour trouver une ultime aide...  
 
Voilà la structure de mon projet :  
 
CRA\  
CRA\docs Javadoc
CRA\import Tous mes .jar que j'ai besoin dans le projet  
CRA\src Toutes mes sources  
 
J'aimerai très simplement créer un .jar pour exécuter mon programme en sachant que le code compile et tourne sous Eclipse. Mais mon projet visant à utiliser Ant, il me faudrait faire un build.xml( déjà fait mais ne fonctionnant pas) pour créer ce .jar.  
 
Précision : jpcsc.dll est nécessaire au programme.  
 
Voici déjà le build.xml que j'ai réalisé :  
 

Code :
  1. <?xml version='1.0'?>
  2. <project name="Card Reader Application" default="clean" basedir=".">
  3.   <!-- Set global properties for this build -->
  4.   <property name="src.dir" value="src"/>
  5.   <property name="import.dir" value="import"/>
  6.   <property name="build.dir" value="build"/>
  7.   <property name="classpath" value="
  8.     C:/Program Files/SilverStream/eXtendWorkbench/compilelib/j2ee_api_1_3.jar;
  9.     Y:/eID/Card-Reader-Application/Phase2/${CRA-jar.build};
  10.     Y:/eID/Card-Reader-Application/Phase2/${import.dir}/commons-beanutils.jar;
  11.     Y:/eID/Card-Reader-Application/Phase2/${import.dir}/commons-collections-3.1.jar;
  12.     Y:/eID/Card-Reader-Application/Phase2/${import.dir}/commons-digester.jar;
  13.     Y:/eID/Card-Reader-Application/Phase2/${import.dir}/commons-logging.jar;
  14.     Y:/eID/Card-Reader-Application/Phase2/${import.dir}/jpcsc.jar;
  15.     Y:/eID/Card-Reader-Application/Phase2/${import.dir}/mysql-connector-java-3.0.15-ga-bin.jar;
  16.     Y:/eID/Card-Reader-Application/Phase2/${import.dir}/pg74.215.jdbc3.jar ;
  17.     Y:/eID/Card-Reader-Application/Phase2/${import.dir}/TableLayout.jar;
  18.     Y:/eID/Card-Reader-Application/Phase2/${import.dir}/util.jar"/>
  19.  
  20.   <target name="prepare">
  21.     <mkdir dir="${build.dir}"/>
  22.   </target>
  23.   <target name="compile" depends="prepare">
  24.     <javac srcdir="${src.dir}" destdir="${build.dir}" includes="**/*.*" classpath="${classpath};${src}"/>
  25.   </target>
  26.   <target name="jar" depends="compile">
  27.     <jar jarfile="CRA.jar" basedir="${build.dir}">   
  28.       <manifest>
  29.         <attribute name="Main-Class" value="main.Main"/>
  30.       </manifest>
  31.     </jar>
  32.   </target>
  33.  
  34.   <target name="clean" depends="jar">
  35.     <delete dir="${build.dir}"/>
  36.   </target>
  37. </project>


 
Merci d'avance pour ceux qui me viendront en aide!    
 
Bonne journée à tous.  
 
Bruno.

Reply

Marsh Posté le 31-03-2005 à 09:22:17   

Reply

Marsh Posté le 31-03-2005 à 09:33:06    

tu peux nous dire l'erreur exacte ?
par ailleurs pourquoi tu utilises des chemins absolues pour ton classpath ?

Reply

Marsh Posté le 31-03-2005 à 09:34:58    

Heu l'erreur exacte est toujours la même :
"Fatal exception occured. Program will exit"
 
Pour ce qui est des chemins absolus pour le class path hé bien je ne sais pas j'ai essayé diverses façon mais peut-être n'est-ce pas la bonne...

Reply

Marsh Posté le 31-03-2005 à 09:53:07    

lances ton ant avec l'option "-verbose" et postes la trace car c'est un peu chaud de voir ce qui va pas

Reply

Marsh Posté le 31-03-2005 à 09:56:00    

Ok mais comment je fais pour récupérer dans un fichier ce qui apparait sous dos?

Reply

Marsh Posté le 31-03-2005 à 09:58:39    

Ca va j'ai trouvé ;-)
 
Voilà :
 

Code :
  1. Apache Ant version 1.6.2 compiled on July 16 2004
  2. Buildfile: build.xml
  3. Detected Java version: 1.4 in: C:\j2sdk1.4.2_07\jre
  4. Detected OS: Windows XP
  5. parsing buildfile Y:\eID\Card-Reader-Application\Phase2\build.xml with URI = file:///Y:/eID/Card-Reader-Application/Phase2/build.xml
  6. Project base dir set to: Y:\eID\Card-Reader-Application\Phase2
  7. Property ${CRA-jar.build} has not been set
  8. Build sequence for target `clean' is [prepare, compile, jar, clean]
  9. Complete build sequence is [prepare, compile, jar, clean, ]
  10. prepare:
  11.     [mkdir] Created dir: Y:\eID\Card-Reader-Application\Phase2\build
  12. compile:
  13.     [javac] card\EIDAddress.java added as card/EIDAddress.class doesn't exist.
  14.     [javac] card\EIDCard.java added as card/EIDCard.class doesn't exist.
  15.     [javac] card\EIDConnection.java added as card/EIDConnection.class doesn't exist.
  16.     [javac] card\EIDInfo.java added as card/EIDInfo.class doesn't exist.
  17.     [javac] card\ISO7816Card.java added as card/ISO7816Card.class doesn't exist.
  18.     [javac] card\ISO7816CardException.java added as card/ISO7816CardException.class doesn't exist.
  19.     [javac] card\SimpleTLVFile.java added as card/SimpleTLVFile.class doesn't exist.
  20.     [javac] database\DbConnection.java added as database/DbConnection.class doesn't exist.
  21.     [javac] main\Back.gif skipped - don't know how to handle it
  22.     [javac] main\Front.gif skipped - don't know how to handle it
  23.     [javac] main\Main.java added as main/Main.class doesn't exist.
  24.     [javac] main\MainGUI.java added as main/MainGUI.class doesn't exist.
  25.     [javac] settings\DatabaseGUI.java added as settings/DatabaseGUI.class doesn't exist.
  26.     [javac] settings\MappingGUI.java added as settings/MappingGUI.class doesn't exist.
  27.     [javac] settings\ReaderGUI.java added as settings/ReaderGUI.class doesn't exist.
  28.     [javac] xml\Database.java added as xml/Database.class doesn't exist.
  29.     [javac] xml\Informations.java added as xml/Informations.class doesn't exist.
  30.     [javac] xml\Internationalization.java added as xml/Internationalization.class doesn't exist.
  31.     [javac] xml\Mapping.java added as xml/Mapping.class doesn't exist.
  32.     [javac] xml\Reader.java added as xml/Reader.class doesn't exist.
  33.     [javac] xml\XmlDatabase.java added as xml/XmlDatabase.class doesn't exist.
  34.     [javac] xml\XmlInformations.java added as xml/XmlInformations.class doesn't exist.
  35.     [javac] xml\XmlInternationalization.java added as xml/XmlInternationalization.class doesn't exist.
  36.     [javac] xml\XmlMapping.java added as xml/XmlMapping.class doesn't exist.
  37.     [javac] xml\XmlReader.java added as xml/XmlReader.class doesn't exist.
  38.     [javac] Compiling 23 source files to Y:\eID\Card-Reader-Application\Phase2\build
  39.     [javac] Using modern compiler
  40. dropping Y:\eID\Card-Reader-Application\Phase2\${CRA-jar.build} from path as it doesn't exist
  41.     [javac] Compilation arguments:
  42.     [javac] '-d'
  43.     [javac] 'Y:\eID\Card-Reader-Application\Phase2\build'
  44.     [javac] '-classpath'
  45.     [javac] 'Y:\eID\Card-Reader-Application\Phase2\build;C:\Program Files\SilverStream\eXtendWorkbench\compilelib\j2ee_api_1_3.jar;C:\Program Files\SilverStream\eXtendWorkbench\docs\tutorial\TutorialFiles\jars\struts.jar;Y:\eID\Card-Reader-Application\Phase2\import\commons-beanutils.jar;Y:\eID\Card-Reader-Application\Phase2\import\commons-collections-3.1.jar;Y:\eID\Card-Reader-Application\Phase2\import\commons-digester.jar;Y:\eID\Card-Reader-Application\Phase2\import\commons-logging.jar;Y:\eID\Card-Reader-Application\Phase2\import\jpcsc.jar;Y:\eID\Card-Reader-Application\Phase2\import\mysql-connector-java-3.0.15-ga-bin.jar;Y:\eID\Card-Reader-Application\Phase2\import\pg74.215.jdbc3.jar;Y:\eID\Card-Reader-Application\Phase2\import\TableLayout.jar;Y:\eID\Card-Reader-Application\Phase2\import\util.jar;Y:\eID\Card-Reader-Application\Phase2\src;C:\ANT\apache-ant-1.6.2\lib\ant-launcher.jar;C:\ANT\apache-ant-1.6.2\lib\ant-antlr.jar;C:\ANT\apache-ant-1.6.2\lib\ant-apache-bcel.jar;C:\ANT\apache-ant-1.6.2\lib\ant-apache-bsf.jar;C:\ANT\apache-ant-1.6.2\lib\ant-apache-log4j.jar;C:\ANT\apache-ant-1.6.2\lib\ant-apache-oro.jar;C:\ANT\apache-ant-1.6.2\lib\ant-apache-regexp.jar;C:\ANT\apache-ant-1.6.2\lib\ant-apache-resolver.jar;C:\ANT\apache-ant-1.6.2\lib\ant-commons-logging.jar;C:\ANT\apache-ant-1.6.2\lib\ant-commons-net.jar;C:\ANT\apache-ant-1.6.2\lib\ant-icontract.jar;C:\ANT\apache-ant-1.6.2\lib\ant-jai.jar;C:\ANT\apache-ant-1.6.2\lib\ant-javamail.jar;C:\ANT\apache-ant-1.6.2\lib\ant-jdepend.jar;C:\ANT\apache-ant-1.6.2\lib\ant-jmf.jar;C:\ANT\apache-ant-1.6.2\lib\ant-jsch.jar;C:\ANT\apache-ant-1.6.2\lib\ant-junit.jar;C:\ANT\apache-ant-1.6.2\lib\ant-netrexx.jar;C:\ANT\apache-ant-1.6.2\lib\ant-nodeps.jar;C:\ANT\apache-ant-1.6.2\lib\ant-starteam.jar;C:\ANT\apache-ant-1.6.2\lib\ant-stylebook.jar;C:\ANT\apache-ant-1.6.2\lib\ant-swing.jar;C:\ANT\apache-ant-1.6.2\lib\ant-trax.jar;C:\ANT\apache-ant-1.6.2\lib\ant-vaj.jar;C:\ANT\apache-ant-1.6.2\lib\ant-weblogic.jar;C:\ANT\apache-ant-1.6.2\lib\ant-xalan1.jar;C:\ANT\apache-ant-1.6.2\lib\ant-xslp.jar;C:\ANT\apache-ant-1.6.2\lib\ant.jar;C:\ANT\apache-ant-1.6.2\lib\xercesImpl.jar;C:\ANT\apache-ant-1.6.2\lib\xml-apis.jar;C:\j2sdk1.4.2_07\lib\tools.jar'
  46.     [javac] '-sourcepath'
  47.     [javac] 'Y:\eID\Card-Reader-Application\Phase2\src'
  48.     [javac] '-g:none'
  49.     [javac]
  50.     [javac] The ' characters around the executable and arguments are
  51.     [javac] not part of the command.
  52.     [javac] Files to be compiled:
  53.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\card\EIDAddress.java
  54.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\card\EIDCard.java
  55.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\card\EIDConnection.java
  56.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\card\EIDInfo.java
  57.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\card\ISO7816Card.java
  58.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\card\ISO7816CardException.java
  59.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\card\SimpleTLVFile.java
  60.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\database\DbConnection.java
  61.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\main\Main.java
  62.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\main\MainGUI.java
  63.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\settings\DatabaseGUI.java
  64.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\settings\MappingGUI.java
  65.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\settings\ReaderGUI.java
  66.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\Database.java
  67.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\Informations.java
  68.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\Internationalization.java
  69.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\Mapping.java
  70.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\Reader.java
  71.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\XmlDatabase.java
  72.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\XmlInformations.java
  73.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\XmlInternationalization.java
  74.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\XmlMapping.java
  75.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\XmlReader.java
  76.     [javac] Note: Y:\eID\Card-Reader-Application\Phase2\src\xml\Informations.java uses or overrides a deprecated API.
  77.     [javac] Note: Recompile with -deprecation for details.
  78. jar:
  79.       [jar] card\EIDAddress.class added as card/EIDAddress.class is outdated.
  80.       [jar] card\EIDCard.class added as card/EIDCard.class is outdated.
  81.       [jar] card\EIDConnection.class added as card/EIDConnection.class is outdated.
  82.       [jar] card\EIDInfo.class added as card/EIDInfo.class is outdated.
  83.       [jar] card\ISO7816Card.class added as card/ISO7816Card.class is outdated.
  84.       [jar] card\ISO7816CardException.class added as card/ISO7816CardException.class is outdated.
  85.       [jar] card\SimpleTLVFile.class added as card/SimpleTLVFile.class is outdated.
  86.       [jar] database\DbConnection.class added as database/DbConnection.class is outdated.
  87.       [jar] main\Main.class added as main/Main.class is outdated.
  88.       [jar] main\MainGUI$1.class added as main/MainGUI$1.class is outdated.
  89.       [jar] main\MainGUI$10.class added as main/MainGUI$10.class is outdated.
  90.       [jar] main\MainGUI$11.class added as main/MainGUI$11.class is outdated.
  91.       [jar] main\MainGUI$12.class added as main/MainGUI$12.class is outdated.
  92.       [jar] main\MainGUI$13.class added as main/MainGUI$13.class is outdated.
  93.       [jar] main\MainGUI$14.class added as main/MainGUI$14.class is outdated.
  94.       [jar] main\MainGUI$15.class added as main/MainGUI$15.class is outdated.
  95.       [jar] main\MainGUI$2.class added as main/MainGUI$2.class is outdated.
  96.       [jar] main\MainGUI$3.class added as main/MainGUI$3.class is outdated.
  97.       [jar] main\MainGUI$4.class added as main/MainGUI$4.class is outdated.
  98.       [jar] main\MainGUI$5.class added as main/MainGUI$5.class is outdated.
  99.       [jar] main\MainGUI$6.class added as main/MainGUI$6.class is outdated.
  100.       [jar] main\MainGUI$7.class added as main/MainGUI$7.class is outdated.
  101.       [jar] main\MainGUI$8.class added as main/MainGUI$8.class is outdated.
  102.       [jar] main\MainGUI$9.class added as main/MainGUI$9.class is outdated.
  103.       [jar] main\MainGUI.class added as main/MainGUI.class is outdated.
  104.       [jar] settings\DatabaseGUI$1.class added as settings/DatabaseGUI$1.class is outdated.
  105.       [jar] settings\DatabaseGUI$2.class added as settings/DatabaseGUI$2.class is outdated.
  106.       [jar] settings\DatabaseGUI$3.class added as settings/DatabaseGUI$3.class is outdated.
  107.       [jar] settings\DatabaseGUI.class added as settings/DatabaseGUI.class is outdated.
  108.       [jar] settings\MappingGUI$1.class added as settings/MappingGUI$1.class is outdated.
  109.       [jar] settings\MappingGUI$10.class added as settings/MappingGUI$10.class is outdated.
  110.       [jar] settings\MappingGUI$11.class added as settings/MappingGUI$11.class is outdated.
  111.       [jar] settings\MappingGUI$12.class added as settings/MappingGUI$12.class is outdated.
  112.       [jar] settings\MappingGUI$2.class added as settings/MappingGUI$2.class is outdated.
  113.       [jar] settings\MappingGUI$3.class added as settings/MappingGUI$3.class is outdated.
  114.       [jar] settings\MappingGUI$4.class added as settings/MappingGUI$4.class is outdated.
  115.       [jar] settings\MappingGUI$5.class added as settings/MappingGUI$5.class is outdated.
  116.       [jar] settings\MappingGUI$6.class added as settings/MappingGUI$6.class is outdated.
  117.       [jar] settings\MappingGUI$7.class added as settings/MappingGUI$7.class is outdated.
  118.       [jar] settings\MappingGUI$8.class added as settings/MappingGUI$8.class is outdated.
  119.       [jar] settings\MappingGUI$9.class added as settings/MappingGUI$9.class is outdated.
  120.       [jar] settings\MappingGUI.class added as settings/MappingGUI.class is outdated.
  121.       [jar] settings\ReaderGUI$1.class added as settings/ReaderGUI$1.class is outdated.
  122.       [jar] settings\ReaderGUI$2.class added as settings/ReaderGUI$2.class is outdated.
  123.       [jar] settings\ReaderGUI$3.class added as settings/ReaderGUI$3.class is outdated.
  124.       [jar] settings\ReaderGUI.class added as settings/ReaderGUI.class is outdated.
  125.       [jar] xml\Database.class added as xml/Database.class is outdated.
  126.       [jar] xml\Informations.class added as xml/Informations.class is outdated.
  127.       [jar] xml\Internationalization.class added as xml/Internationalization.class is outdated.
  128.       [jar] xml\Mapping.class added as xml/Mapping.class is outdated.
  129.       [jar] xml\Reader.class added as xml/Reader.class is outdated.
  130.       [jar] xml\XmlDatabase.class added as xml/XmlDatabase.class is outdated.
  131.       [jar] xml\XmlInformations.class added as xml/XmlInformations.class is outdated.
  132.       [jar] xml\XmlInternationalization.class added as xml/XmlInternationalization.class is outdated.
  133.       [jar] xml\XmlMapping.class added as xml/XmlMapping.class is outdated.
  134.       [jar] xml\XmlReader.class added as xml/XmlReader.class is outdated.
  135.       [jar] Building jar: Y:\eID\Card-Reader-Application\Phase2\CRA.jar
  136.       [jar] adding directory META-INF/
  137.       [jar] adding entry META-INF/MANIFEST.MF
  138.       [jar] adding directory card/
  139.       [jar] adding entry card/EIDAddress.class
  140.       [jar] adding entry card/EIDCard.class
  141.       [jar] adding entry card/EIDConnection.class
  142.       [jar] adding entry card/EIDInfo.class
  143.       [jar] adding entry card/ISO7816Card.class
  144.       [jar] adding entry card/ISO7816CardException.class
  145.       [jar] adding entry card/SimpleTLVFile.class
  146.       [jar] adding directory database/
  147.       [jar] adding entry database/DbConnection.class
  148.       [jar] adding directory main/
  149.       [jar] adding entry main/Main.class
  150.       [jar] adding entry main/MainGUI$1.class
  151.       [jar] adding entry main/MainGUI$10.class
  152.       [jar] adding entry main/MainGUI$11.class
  153.       [jar] adding entry main/MainGUI$12.class
  154.       [jar] adding entry main/MainGUI$13.class
  155.       [jar] adding entry main/MainGUI$14.class
  156.       [jar] adding entry main/MainGUI$15.class
  157.       [jar] adding entry main/MainGUI$2.class
  158.       [jar] adding entry main/MainGUI$3.class
  159.       [jar] adding entry main/MainGUI$4.class
  160.       [jar] adding entry main/MainGUI$5.class
  161.       [jar] adding entry main/MainGUI$6.class
  162.       [jar] adding entry main/MainGUI$7.class
  163.       [jar] adding entry main/MainGUI$8.class
  164.       [jar] adding entry main/MainGUI$9.class
  165.       [jar] adding entry main/MainGUI.class
  166.       [jar] adding directory settings/
  167.       [jar] adding entry settings/DatabaseGUI$1.class
  168.       [jar] adding entry settings/DatabaseGUI$2.class
  169.       [jar] adding entry settings/DatabaseGUI$3.class
  170.       [jar] adding entry settings/DatabaseGUI.class
  171.       [jar] adding entry settings/MappingGUI$1.class
  172.       [jar] adding entry settings/MappingGUI$10.class
  173.       [jar] adding entry settings/MappingGUI$11.class
  174.       [jar] adding entry settings/MappingGUI$12.class
  175.       [jar] adding entry settings/MappingGUI$2.class
  176.       [jar] adding entry settings/MappingGUI$3.class
  177.       [jar] adding entry settings/MappingGUI$4.class
  178.       [jar] adding entry settings/MappingGUI$5.class
  179.       [jar] adding entry settings/MappingGUI$6.class
  180.       [jar] adding entry settings/MappingGUI$7.class
  181.       [jar] adding entry settings/MappingGUI$8.class
  182.       [jar] adding entry settings/MappingGUI$9.class
  183.       [jar] adding entry settings/MappingGUI.class
  184.       [jar] adding entry settings/ReaderGUI$1.class
  185.       [jar] adding entry settings/ReaderGUI$2.class
  186.       [jar] adding entry settings/ReaderGUI$3.class
  187.       [jar] adding entry settings/ReaderGUI.class
  188.       [jar] adding directory xml/
  189.       [jar] adding entry xml/Database.class
  190.       [jar] adding entry xml/Informations.class
  191.       [jar] adding entry xml/Internationalization.class
  192.       [jar] adding entry xml/Mapping.class
  193.       [jar] adding entry xml/Reader.class
  194.       [jar] adding entry xml/XmlDatabase.class
  195.       [jar] adding entry xml/XmlInformations.class
  196.       [jar] adding entry xml/XmlInternationalization.class
  197.       [jar] adding entry xml/XmlMapping.class
  198.       [jar] adding entry xml/XmlReader.class
  199. clean:
  200.    [delete] Deleting directory Y:\eID\Card-Reader-Application\Phase2\build
  201.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\card\EIDAddress.class
  202.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\card\EIDCard.class
  203.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\card\EIDConnection.class
  204.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\card\EIDInfo.class
  205.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\card\ISO7816Card.class
  206.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\card\ISO7816CardException.class
  207.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\card\SimpleTLVFile.class
  208.    [delete] Deleting directory Y:\eID\Card-Reader-Application\Phase2\build\card
  209.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\database\DbConnection.class
  210.    [delete] Deleting directory Y:\eID\Card-Reader-Application\Phase2\build\database
  211.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\Main.class
  212.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$1.class
  213.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$10.class
  214.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$11.class
  215.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$12.class
  216.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$13.class
  217.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$14.class
  218.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$15.class
  219.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$2.class
  220.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$3.class
  221.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$4.class
  222.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$5.class
  223.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$6.class
  224.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$7.class
  225.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$8.class
  226.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$9.class
  227.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI.class
  228.    [delete] Deleting directory Y:\eID\Card-Reader-Application\Phase2\build\main
  229.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\DatabaseGUI$1.class
  230.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\DatabaseGUI$2.class
  231.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\DatabaseGUI$3.class
  232.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\DatabaseGUI.class
  233.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$1.class
  234.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$10.class
  235.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$11.class
  236.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$12.class
  237.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$2.class
  238.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$3.class
  239.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$4.class
  240.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$5.class
  241.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$6.class
  242.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$7.class
  243.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$8.class
  244.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$9.class
  245.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI.class
  246.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\ReaderGUI$1.class
  247.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\ReaderGUI$2.class
  248.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\ReaderGUI$3.class
  249.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\ReaderGUI.class
  250.    [delete] Deleting directory Y:\eID\Card-Reader-Application\Phase2\build\settings
  251.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\Database.class
  252.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\Informations.class
  253.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\Internationalization.class
  254.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\Mapping.class
  255.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\Reader.class
  256.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\XmlDatabase.class
  257.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\XmlInformations.class
  258.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\XmlInternationalization.class
  259.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\XmlMapping.class
  260.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\XmlReader.class
  261.    [delete] Deleting directory Y:\eID\Card-Reader-Application\Phase2\build\xml
  262.    [delete] Deleting directory Y:\eID\Card-Reader-Application\Phase2\build
  263. BUILD SUCCESSFUL
  264. Total time: 5 seconds

Reply

Marsh Posté le 31-03-2005 à 10:10:59    

Bon deja tu vois un peu plus d'info,
ca devrait t'aider, essaye de "nettoyer" un peu ton build.
Par exemple ca :
<javac srcdir="${src.dir}" destdir="${build.dir}" includes="**/*.*" classpath="${classpath};${src}"/>  
 
ca cloche un peu la je pense ...
 
si tu t'en sors vraiment pas, reviens a la charge ;-)
 
ps : tu as aussi dit que sous eclipse ca marchait, il me semble qu'il existe un plugin te permettant de generer un build ant a partir d'un projet eclipse, c'est peut etre une solution
 
edit : voila le plugin en question http://www.geocities.com/richard_hoefter/eclipse2ant/


Message édité par sebi le 31-03-2005 à 10:14:37
Reply

Marsh Posté le 31-03-2005 à 11:25:40    

Mouais non ca change rien de retirer :${src} et le fichier build.xml créé par Eclipse est vraiment pas terrible en plus il me crée même pas de .jar
 
Je vais me pendre j'arrive...

Reply

Marsh Posté le 31-03-2005 à 13:47:01    

Bon hé bien voilà j'ai encore modifié mon ant et j'en arrive à ceci :
 
<!-- build.xml -->
 

Code :
  1. <?xml version="1.0" encoding="iso-8859-1" ?>
  2. <project name="CRA" default="jar" basedir=".">
  3. <property name="build" value="build" />
  4. <property name="docs" value="docs" />
  5. <property name="jar" value="." />
  6. <property name="lib" value="lib" />
  7. <property name="src" value="src" />
  8. <!-- Indique le classpath utilisé pour la compilation -->
  9. <path id="classpath">
  10.  <pathelement location="${lib}/commons-beanutils.jar" />
  11.  <pathelement location="${lib}/commons-collections-3.1.jar" />
  12.  <pathelement location="${lib}/commons-digester.jar" />
  13.  <pathelement location="${lib}/commons-logging.jar" />
  14.  <pathelement location="${lib}/jpcsc.jar" />
  15.  <pathelement location="${lib}/mysql-connector-java-3.0.15-ga-bin.jar" />
  16.  <pathelement location="${lib}/pg74.215.jdbc3.jar" />
  17.  <pathelement location="${lib}/TableLayout.jar" />
  18.  <pathelement location="${lib}/util.jar" />
  19. </path>
  20. <!-- Tâche de nettoyage du projet -->
  21. <target name="clean">
  22.  <delete verbose="false" includeEmptyDirs="true">
  23.   <fileset dir="${build}" />
  24.   <fileset dir="${docs}" />
  25.  </delete>
  26.    </target>
  27. <!-- Initialisation des répertoires -->
  28. <target name="init" depends="clean">
  29.     <mkdir dir="${build}" />
  30.  <mkdir dir="${docs}" />
  31. </target>
  32. <!-- Compilation de tout le répertoire src -->
  33. <target name="compile" depends="init">
  34.  <javac srcdir="${src}" destdir="${build}" debug="on">
  35.   <classpath refid="classpath" />
  36.  </javac>
  37. </target>
  38. <!-- Tâche de fabrication du javadoc -->
  39. <target name="docs" depends="compile">
  40.  <javadoc sourcepath="${src}" packagenames="*" destdir="${docs}" author="true" windowtitle="Card Reader Application Documentation">
  41.      <classpath refid="classpath" />
  42.  </javadoc>
  43. </target>
  44. <!-- Tâche de fabrication d'une archive de distribution -->
  45. <target name="jar" depends="docs">
  46.  <jar jarfile="${jar}/CRA.jar" basedir="${build}">
  47.   <manifest>
  48.           <attribute name="Main-Class" value="main.Main"/>
  49.   </manifest>
  50.   <zipfileset dir="./${build}" includes="**" />
  51.   <zipfileset dir="./${src}/main" includes="*.gif" />
  52.   <zipfileset dir="./${lib}" includes="*.jar" />
  53.  </jar>
  54. </target>
  55. </project>


 
<!-- dir -->
 

Code :
  1. Volume in drive Y is DOCUMENT
  2. Volume Serial Number is 2C00-A461
  3. Directory of Y:\eID\Card-Reader-Application\Phase2
  4. 31/03/2005  13:35    <DIR>          .
  5. 31/03/2005  13:35    <DIR>          ..
  6. 31/03/2005  12:17             1.154 .classpath
  7. 18/02/2005  14:31               399 .project
  8. 31/03/2005  13:34    <DIR>          build
  9. 31/03/2005  13:26             2.211 build.xml
  10. 31/03/2005  13:34         1.649.847 CRA.jar
  11. 31/03/2005  13:34    <DIR>          docs
  12. 01/03/2005  12:38             9.004 internationalization.xml
  13. 31/10/2003  14:33            49.152 jpcsc.dll
  14. 31/03/2005  12:21    <DIR>          lib
  15. 31/10/2003  14:33            21.943 libjpcsc.so
  16. 09/03/2005  16:32    <DIR>          src
  17.                9 File(s)      1.760.717 bytes
  18.                6 Dir(s)  13.410.717.696 bytes free


 
<!-- ant -->
 

Code :
  1. Apache Ant version 1.6.2 compiled on July 16 2004
  2. Buildfile: build.xml
  3. Detected Java version: 1.4 in: C:\j2sdk1.4.2_07\jre
  4. Detected OS: Windows XP
  5. parsing buildfile Y:\eID\Card-Reader-Application\Phase2\build.xml with URI = file:///Y:/eID/Card-Reader-Application/Phase2/build.xml
  6. Project base dir set to: Y:\eID\Card-Reader-Application\Phase2
  7. Build sequence for target `jar' is [clean, init, compile, docs, jar]
  8. Complete build sequence is [clean, init, compile, docs, jar, ]
  9. clean:
  10.    [delete] Deleting 56 files from Y:\eID\Card-Reader-Application\Phase2\build
  11.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\card\EIDAddress.class
  12.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\card\EIDCard.class
  13.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\card\EIDConnection.class
  14.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\card\EIDInfo.class
  15.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\card\ISO7816Card.class
  16.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\card\ISO7816CardException.class
  17.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\card\SimpleTLVFile.class
  18.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\database\DbConnection.class
  19.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\Main.class
  20.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$1.class
  21.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$10.class
  22.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$11.class
  23.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$12.class
  24.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$13.class
  25.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$14.class
  26.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$15.class
  27.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$2.class
  28.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$3.class
  29.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$4.class
  30.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$5.class
  31.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$6.class
  32.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$7.class
  33.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$8.class
  34.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI$9.class
  35.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main\MainGUI.class
  36.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\DatabaseGUI$1.class
  37.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\DatabaseGUI$2.class
  38.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\DatabaseGUI$3.class
  39.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\DatabaseGUI.class
  40.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$1.class
  41.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$10.class
  42.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$11.class
  43.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$12.class
  44.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$2.class
  45.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$3.class
  46.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$4.class
  47.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$5.class
  48.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$6.class
  49.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$7.class
  50.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$8.class
  51.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI$9.class
  52.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\MappingGUI.class
  53.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\ReaderGUI$1.class
  54.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\ReaderGUI$2.class
  55.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\ReaderGUI$3.class
  56.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings\ReaderGUI.class
  57.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\Database.class
  58.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\Informations.class
  59.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\Internationalization.class
  60.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\Mapping.class
  61.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\Reader.class
  62.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\XmlDatabase.class
  63.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\XmlInformations.class
  64.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\XmlInternationalization.class
  65.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\XmlMapping.class
  66.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml\XmlReader.class
  67.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\xml
  68.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\settings
  69.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\main
  70.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\database
  71.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build\card
  72.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\build
  73.    [delete] Deleted 6 directories from Y:\eID\Card-Reader-Application\Phase2\build
  74.    [delete] Deleting 53 files from Y:\eID\Card-Reader-Application\Phase2\docs
  75.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\allclasses-frame.html
  76.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\allclasses-noframe.html
  77.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\card\EIDAddress.html
  78.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\card\EIDCard.html
  79.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\card\EIDConnection.html
  80.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\card\EIDInfo.html
  81.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\card\ISO7816Card.html
  82.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\card\ISO7816CardException.html
  83.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\card\SimpleTLVFile.html
  84.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\card\package-frame.html
  85.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\card\package-summary.html
  86.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\card\package-tree.html
  87.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\constant-values.html
  88.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\database\DbConnection.html
  89.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\database\package-frame.html
  90.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\database\package-summary.html
  91.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\database\package-tree.html
  92.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\deprecated-list.html
  93.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\help-doc.html
  94.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\index-all.html
  95.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\index.html
  96.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\main\Main.html
  97.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\main\MainGUI.html
  98.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\main\package-frame.html
  99.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\main\package-summary.html
  100.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\main\package-tree.html
  101.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\overview-frame.html
  102.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\overview-summary.html
  103.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\overview-tree.html
  104.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\package-list
  105.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\packages.html
  106.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\resources\inherit.gif
  107.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\serialized-form.html
  108.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\settings\DatabaseGUI.html
  109.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\settings\MappingGUI.html
  110.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\settings\ReaderGUI.html
  111.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\settings\package-frame.html
  112.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\settings\package-summary.html
  113.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\settings\package-tree.html
  114.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\stylesheet.css
  115.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\xml\Database.html
  116.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\xml\Informations.html
  117.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\xml\Internationalization.html
  118.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\xml\Mapping.html
  119.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\xml\Reader.html
  120.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\xml\XmlDatabase.html
  121.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\xml\XmlInformations.html
  122.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\xml\XmlInternationalization.html
  123.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\xml\XmlMapping.html
  124.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\xml\XmlReader.html
  125.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\xml\package-frame.html
  126.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\xml\package-summary.html
  127.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\xml\package-tree.html
  128.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\xml
  129.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\settings
  130.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\resources
  131.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\main
  132.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\database
  133.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs\card
  134.    [delete] Deleting Y:\eID\Card-Reader-Application\Phase2\docs
  135.    [delete] Deleted 7 directories from Y:\eID\Card-Reader-Application\Phase2\docs
  136. init:
  137.     [mkdir] Created dir: Y:\eID\Card-Reader-Application\Phase2\build
  138.     [mkdir] Created dir: Y:\eID\Card-Reader-Application\Phase2\docs
  139. compile:
  140.     [javac] card\EIDAddress.java added as card/EIDAddress.class doesn't exist.
  141.     [javac] card\EIDCard.java added as card/EIDCard.class doesn't exist.
  142.     [javac] card\EIDConnection.java added as card/EIDConnection.class doesn't exist.
  143.     [javac] card\EIDInfo.java added as card/EIDInfo.class doesn't exist.
  144.     [javac] card\ISO7816Card.java added as card/ISO7816Card.class doesn't exist.
  145.     [javac] card\ISO7816CardException.java added as card/ISO7816CardException.class doesn't exist.
  146.     [javac] card\SimpleTLVFile.java added as card/SimpleTLVFile.class doesn't exist.
  147.     [javac] database\DbConnection.java added as database/DbConnection.class doesn't exist.
  148.     [javac] main\Back.gif skipped - don't know how to handle it
  149.     [javac] main\Front.gif skipped - don't know how to handle it
  150.     [javac] main\Main.java added as main/Main.class doesn't exist.
  151.     [javac] main\MainGUI.java added as main/MainGUI.class doesn't exist.
  152.     [javac] settings\DatabaseGUI.java added as settings/DatabaseGUI.class doesn't exist.
  153.     [javac] settings\MappingGUI.java added as settings/MappingGUI.class doesn't exist.
  154.     [javac] settings\ReaderGUI.java added as settings/ReaderGUI.class doesn't exist.
  155.     [javac] xml\Database.java added as xml/Database.class doesn't exist.
  156.     [javac] xml\Informations.java added as xml/Informations.class doesn't exist.
  157.     [javac] xml\Internationalization.java added as xml/Internationalization.class doesn't exist.
  158.     [javac] xml\Mapping.java added as xml/Mapping.class doesn't exist.
  159.     [javac] xml\Reader.java added as xml/Reader.class doesn't exist.
  160.     [javac] xml\XmlDatabase.java added as xml/XmlDatabase.class doesn't exist.
  161.     [javac] xml\XmlInformations.java added as xml/XmlInformations.class doesn't exist.
  162.     [javac] xml\XmlInternationalization.java added as xml/XmlInternationalization.class doesn't exist.
  163.     [javac] xml\XmlMapping.java added as xml/XmlMapping.class doesn't exist.
  164.     [javac] xml\XmlReader.java added as xml/XmlReader.class doesn't exist.
  165.     [javac] Compiling 23 source files to Y:\eID\Card-Reader-Application\Phase2\build
  166.     [javac] Using modern compiler
  167.     [javac] Compilation arguments:
  168.     [javac] '-d'
  169.     [javac] 'Y:\eID\Card-Reader-Application\Phase2\build'
  170.     [javac] '-classpath'
  171.     [javac] 'Y:\eID\Card-Reader-Application\Phase2\build;Y:\eID\Card-Reader-Application\Phase2\lib\commons-beanutils.jar;Y:\eID\Card-Reader-Application\Phase2\lib\commons-collections-3.1.jar;Y:\eID\Card-Reader-Application\Phase2\lib\commons-digester.jar;Y:\eID\Card-Reader-Application\Phase2\lib\commons-logging.jar;Y:\eID\Card-Reader-Application\Phase2\lib\jpcsc.jar;Y:\eID\Card-Reader-Application\Phase2\lib\mysql-connector-java-3.0.15-ga-bin.jar;Y:\eID\Card-Reader-Application\Phase2\lib\pg74.215.jdbc3.jar;Y:\eID\Card-Reader-Application\Phase2\lib\TableLayout.jar;Y:\eID\Card-Reader-Application\Phase2\lib\util.jar;C:\ANT\apache-ant-1.6.2\lib\ant-launcher.jar;C:\ANT\apache-ant-1.6.2\lib\ant-antlr.jar;C:\ANT\apache-ant-1.6.2\lib\ant-apache-bcel.jar;C:\ANT\apache-ant-1.6.2\lib\ant-apache-bsf.jar;C:\ANT\apache-ant-1.6.2\lib\ant-apache-log4j.jar;C:\ANT\apache-ant-1.6.2\lib\ant-apache-oro.jar;C:\ANT\apache-ant-1.6.2\lib\ant-apache-regexp.jar;C:\ANT\apache-ant-1.6.2\lib\ant-apache-resolver.jar;C:\ANT\apache-ant-1.6.2\lib\ant-commons-logging.jar;C:\ANT\apache-ant-1.6.2\lib\ant-commons-net.jar;C:\ANT\apache-ant-1.6.2\lib\ant-icontract.jar;C:\ANT\apache-ant-1.6.2\lib\ant-jai.jar;C:\ANT\apache-ant-1.6.2\lib\ant-javamail.jar;C:\ANT\apache-ant-1.6.2\lib\ant-jdepend.jar;C:\ANT\apache-ant-1.6.2\lib\ant-jmf.jar;C:\ANT\apache-ant-1.6.2\lib\ant-jsch.jar;C:\ANT\apache-ant-1.6.2\lib\ant-junit.jar;C:\ANT\apache-ant-1.6.2\lib\ant-netrexx.jar;C:\ANT\apache-ant-1.6.2\lib\ant-nodeps.jar;C:\ANT\apache-ant-1.6.2\lib\ant-starteam.jar;C:\ANT\apache-ant-1.6.2\lib\ant-stylebook.jar;C:\ANT\apache-ant-1.6.2\lib\ant-swing.jar;C:\ANT\apache-ant-1.6.2\lib\ant-trax.jar;C:\ANT\apache-ant-1.6.2\lib\ant-vaj.jar;C:\ANT\apache-ant-1.6.2\lib\ant-weblogic.jar;C:\ANT\apache-ant-1.6.2\lib\ant-xalan1.jar;C:\ANT\apache-ant-1.6.2\lib\ant-xslp.jar;C:\ANT\apache-ant-1.6.2\lib\ant.jar;C:\ANT\apache-ant-1.6.2\lib\xercesImpl.jar;C:\ANT\apache-ant-1.6.2\lib\xml-apis.jar;C:\j2sdk1.4.2_07\lib\tools.jar'
  172.     [javac] '-sourcepath'
  173.     [javac] 'Y:\eID\Card-Reader-Application\Phase2\src'
  174.     [javac] '-g'
  175.     [javac]
  176.     [javac] The ' characters around the executable and arguments are
  177.     [javac] not part of the command.
  178.     [javac] Files to be compiled:
  179.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\card\EIDAddress.java
  180.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\card\EIDCard.java
  181.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\card\EIDConnection.java
  182.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\card\EIDInfo.java
  183.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\card\ISO7816Card.java
  184.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\card\ISO7816CardException.java
  185.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\card\SimpleTLVFile.java
  186.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\database\DbConnection.java
  187.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\main\Main.java
  188.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\main\MainGUI.java
  189.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\settings\DatabaseGUI.java
  190.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\settings\MappingGUI.java
  191.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\settings\ReaderGUI.java
  192.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\Database.java
  193.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\Informations.java
  194.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\Internationalization.java
  195.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\Mapping.java
  196.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\Reader.java
  197.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\XmlDatabase.java
  198.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\XmlInformations.java
  199.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\XmlInternationalization.java
  200.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\XmlMapping.java
  201.     [javac]     Y:\eID\Card-Reader-Application\Phase2\src\xml\XmlReader.java
  202.     [javac] Note: Y:\eID\Card-Reader-Application\Phase2\src\xml\Informations.java uses or overrides a deprecated API.
  203.     [javac] Note: Recompile with -deprecation for details.
  204. docs:
  205.   [javadoc] Generating Javadoc
  206.   [javadoc] Executing 'C:\j2sdk1.4.2_07\bin\javadoc.exe' with arguments:
  207.   [javadoc] '-d'
  208.   [javadoc] 'Y:\eID\Card-Reader-Application\Phase2\docs'
  209.   [javadoc] '-windowtitle'
  210.   [javadoc] 'Card Reader Application Documentation'
  211.   [javadoc] '-classpath'
  212.   [javadoc] 'Y:\eID\Card-Reader-Application\Phase2\lib\commons-beanutils.jar;Y:\eID\Card-Reader-Application\Phase2\lib\commons-collections-3.1.jar;Y:\eID\Card-Reader-Application\Phase2\lib\commons-digester.jar;Y:\eID\Card-Reader-Application\Phase2\lib\commons-logging.jar;Y:\eID\Card-Reader-Application\Phase2\lib\jpcsc.jar;Y:\eID\Card-Reader-Application\Phase2\lib\mysql-connector-java-3.0.15-ga-bin.jar;Y:\eID\Card-Reader-Application\Phase2\lib\pg74.215.jdbc3.jar;Y:\eID\Card-Reader-Application\Phase2\lib\TableLayout.jar;Y:\eID\Card-Reader-Application\Phase2\lib\util.jar'
  213.   [javadoc] '-sourcepath'
  214.   [javadoc] 'Y:\eID\Card-Reader-Application\Phase2\src'
  215.   [javadoc] '-version'
  216.   [javadoc] '-author'
  217.   [javadoc] 'card'
  218.   [javadoc] 'database'
  219.   [javadoc] 'main'
  220.   [javadoc] 'settings'
  221.   [javadoc] 'xml'
  222.   [javadoc]
  223.   [javadoc] The ' characters around the executable and arguments are
  224.   [javadoc] not part of the command.
  225.   [javadoc] Javadoc execution
  226.   [javadoc] Loading source files for package card...
  227.   [javadoc] Loading source files for package database...
  228.   [javadoc] Loading source files for package main...
  229.   [javadoc] Loading source files for package settings...
  230.   [javadoc] Loading source files for package xml...
  231.   [javadoc] Constructing Javadoc information...
  232.   [javadoc] Standard Doclet version 1.4.2_07
  233.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\constant-values.html...
  234.   [javadoc] Building tree for all the packages and classes...
  235.   [javadoc] Building index for all the packages and classes...
  236.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\overview-tree.html...
  237.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\index-all.html...
  238.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\deprecated-list.html...
  239.   [javadoc] Building index for all classes...
  240.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\allclasses-frame.html...
  241.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\allclasses-noframe.html...
  242.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\index.html...
  243.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\packages.html...
  244.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\overview-summary.html...
  245.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\overview-frame.html...
  246.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\card\package-frame.html...
  247.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\card\package-summary.html...
  248.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\card\package-tree.html...
  249.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\database\package-frame.html...
  250.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\database\package-summary.html...
  251.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\database\package-tree.html...
  252.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\main\package-frame.html...
  253.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\main\package-summary.html...
  254.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\main\package-tree.html...
  255.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\settings\package-frame.html...
  256.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\settings\package-summary.html...
  257.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\settings\package-tree.html...
  258.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\xml\package-frame.html...
  259.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\xml\package-summary.html...
  260.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\xml\package-tree.html...
  261.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\card\EIDAddress.html...
  262.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\card\EIDCard.html...
  263.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\card\EIDConnection.html...
  264.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\card\EIDInfo.html...
  265.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\card\ISO7816Card.html...
  266.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\card\SimpleTLVFile.html...
  267.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\card\ISO7816CardException.html...
  268.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\database\DbConnection.html...
  269.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\main\Main.html...
  270.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\main\MainGUI.html...
  271.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\settings\DatabaseGUI.html...
  272.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\settings\MappingGUI.html...
  273.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\settings\ReaderGUI.html...
  274.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\xml\Database.html...
  275.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\xml\Informations.html...
  276.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\xml\Internationalization.html...
  277.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\xml\Mapping.html...
  278.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\xml\Reader.html...
  279.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\xml\XmlDatabase.html...
  280.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\xml\XmlInformations.html...
  281.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\xml\XmlInternationalization.html...
  282.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\xml\XmlMapping.html...
  283.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\xml\XmlReader.html...
  284.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\serialized-form.html...
  285.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\package-list...
  286.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\help-doc.html...
  287.   [javadoc] Generating Y:\eID\Card-Reader-Application\Phase2\docs\stylesheet.css...
  288. jar:
  289.       [jar] card\EIDAddress.class added as card/EIDAddress.class is outdated.
  290.       [jar] card\EIDCard.class added as card/EIDCard.class is outdated.
  291.       [jar] card\EIDConnection.class added as card/EIDConnection.class is outdated.
  292.       [jar] card\EIDInfo.class added as card/EIDInfo.class is outdated.
  293.       [jar] card\ISO7816Card.class added as card/ISO7816Card.class is outdated.
  294.       [jar] card\ISO7816CardException.class added as card/ISO7816CardException.class is outdated.
  295.       [jar] card\SimpleTLVFile.class added as card/SimpleTLVFile.class is outdated.
  296.       [jar] database\DbConnection.class added as database/DbConnection.class is outdated.
  297.       [jar] main\Main.class added as main/Main.class is outdated.
  298.       [jar] main\MainGUI$1.class added as main/MainGUI$1.class is outdated.
  299.       [jar] main\MainGUI$10.class added as main/MainGUI$10.class is outdated.
  300.       [jar] main\MainGUI$11.class added as main/MainGUI$11.class is outdated.
  301.       [jar] main\MainGUI$12.class added as main/MainGUI$12.class is outdated.
  302.       [jar] main\MainGUI$13.class added as main/MainGUI$13.class is outdated.
  303.       [jar] main\MainGUI$14.class added as main/MainGUI$14.class is outdated.
  304.       [jar] main\MainGUI$15.class added as main/MainGUI$15.class is outdated.
  305.       [jar] main\MainGUI$2.class added as main/MainGUI$2.class is outdated.
  306.       [jar] main\MainGUI$3.class added as main/MainGUI$3.class is outdated.
  307.       [jar] main\MainGUI$4.class added as main/MainGUI$4.class is outdated.
  308.       [jar] main\MainGUI$5.class added as main/MainGUI$5.class is outdated.
  309.       [jar] main\MainGUI$6.class added as main/MainGUI$6.class is outdated.
  310.       [jar] main\MainGUI$7.class added as main/MainGUI$7.class is outdated.
  311.       [jar] main\MainGUI$8.class added as main/MainGUI$8.class is outdated.
  312.       [jar] main\MainGUI$9.class added as main/MainGUI$9.class is outdated.
  313.       [jar] main\MainGUI.class added as main/MainGUI.class is outdated.
  314.       [jar] settings\DatabaseGUI$1.class added as settings/DatabaseGUI$1.class is outdated.
  315.       [jar] settings\DatabaseGUI$2.class added as settings/DatabaseGUI$2.class is outdated.
  316.       [jar] settings\DatabaseGUI$3.class added as settings/DatabaseGUI$3.class is outdated.
  317.       [jar] settings\DatabaseGUI.class added as settings/DatabaseGUI.class is outdated.
  318.       [jar] settings\MappingGUI$1.class added as settings/MappingGUI$1.class is outdated.
  319.       [jar] settings\MappingGUI$10.class added as settings/MappingGUI$10.class is outdated.
  320.       [jar] settings\MappingGUI$11.class added as settings/MappingGUI$11.class is outdated.
  321.       [jar] settings\MappingGUI$12.class added as settings/MappingGUI$12.class is outdated.
  322.       [jar] settings\MappingGUI$2.class added as settings/MappingGUI$2.class is outdated.
  323.       [jar] settings\MappingGUI$3.class added as settings/MappingGUI$3.class is outdated.
  324.       [jar] settings\MappingGUI$4.class added as settings/MappingGUI$4.class is outdated.
  325.       [jar] settings\MappingGUI$5.class added as settings/MappingGUI$5.class is outdated.
  326.       [jar] settings\MappingGUI$6.class added as settings/MappingGUI$6.class is outdated.
  327.       [jar] settings\MappingGUI$7.class added as settings/MappingGUI$7.class is outdated.
  328.       [jar] settings\MappingGUI$8.class added as settings/MappingGUI$8.class is outdated.
  329.       [jar] settings\MappingGUI$9.class added as settings/MappingGUI$9.class is outdated.
  330.       [jar] settings\MappingGUI.class added as settings/MappingGUI.class is outdated.
  331.       [jar] settings\ReaderGUI$1.class added as settings/ReaderGUI$1.class is outdated.
  332.       [jar] settings\ReaderGUI$2.class added as settings/ReaderGUI$2.class is outdated.
  333.       [jar] settings\ReaderGUI$3.class added as settings/ReaderGUI$3.class is outdated.
  334.       [jar] settings\ReaderGUI.class added as settings/ReaderGUI.class is outdated.
  335.       [jar] xml\Database.class added as xml/Database.class is outdated.
  336.       [jar] xml\Informations.class added as xml/Informations.class is outdated.
  337.       [jar] xml\Internationalization.class added as xml/Internationalization.class is outdated.
  338.       [jar] xml\Mapping.class added as xml/Mapping.class is outdated.
  339.       [jar] xml\Reader.class added as xml/Reader.class is outdated.
  340.       [jar] xml\XmlDatabase.class added as xml/XmlDatabase.class is outdated.
  341.       [jar] xml\XmlInformations.class added as xml/XmlInformations.class is outdated.
  342.       [jar] xml\XmlInternationalization.class added as xml/XmlInternationalization.class is outdated.
  343.       [jar] xml\XmlMapping.class added as xml/XmlMapping.class is outdated.
  344.       [jar] xml\XmlReader.class added as xml/XmlReader.class is outdated.
  345.       [jar] Building jar: Y:\eID\Card-Reader-Application\Phase2\CRA.jar
  346.       [jar] adding directory META-INF/
  347.       [jar] adding entry META-INF/MANIFEST.MF
  348.       [jar] adding directory card/
  349.       [jar] adding entry card/EIDAddress.class
  350.       [jar] adding entry card/EIDCard.class
  351.       [jar] adding entry card/EIDConnection.class
  352.       [jar] adding entry card/EIDInfo.class
  353.       [jar] adding entry card/ISO7816Card.class
  354.       [jar] adding entry card/ISO7816CardException.class
  355.       [jar] adding entry card/SimpleTLVFile.class
  356.       [jar] adding directory database/
  357.       [jar] adding entry database/DbConnection.class
  358.       [jar] adding directory main/
  359.       [jar] adding entry main/Main.class
  360.       [jar] adding entry main/MainGUI$1.class
  361.       [jar] adding entry main/MainGUI$10.class
  362.       [jar] adding entry main/MainGUI$11.class
  363.       [jar] adding entry main/MainGUI$12.class
  364.       [jar] adding entry main/MainGUI$13.class
  365.       [jar] adding entry main/MainGUI$14.class
  366.       [jar] adding entry main/MainGUI$15.class
  367.       [jar] adding entry main/MainGUI$2.class
  368.       [jar] adding entry main/MainGUI$3.class
  369.       [jar] adding entry main/MainGUI$4.class
  370.       [jar] adding entry main/MainGUI$5.class
  371.       [jar] adding entry main/MainGUI$6.class
  372.       [jar] adding entry main/MainGUI$7.class
  373.       [jar] adding entry main/MainGUI$8.class
  374.       [jar] adding entry main/MainGUI$9.class
  375.       [jar] adding entry main/MainGUI.class
  376.       [jar] adding directory settings/
  377.       [jar] adding entry settings/DatabaseGUI$1.class
  378.       [jar] adding entry settings/DatabaseGUI$2.class
  379.       [jar] adding entry settings/DatabaseGUI$3.class
  380.       [jar] adding entry settings/DatabaseGUI.class
  381.       [jar] adding entry settings/MappingGUI$1.class
  382.       [jar] adding entry settings/MappingGUI$10.class
  383.       [jar] adding entry settings/MappingGUI$11.class
  384.       [jar] adding entry settings/MappingGUI$12.class
  385.       [jar] adding entry settings/MappingGUI$2.class
  386.       [jar] adding entry settings/MappingGUI$3.class
  387.       [jar] adding entry settings/MappingGUI$4.class
  388.       [jar] adding entry settings/MappingGUI$5.class
  389.       [jar] adding entry settings/MappingGUI$6.class
  390.       [jar] adding entry settings/MappingGUI$7.class
  391.       [jar] adding entry settings/MappingGUI$8.class
  392.       [jar] adding entry settings/MappingGUI$9.class
  393.       [jar] adding entry settings/MappingGUI.class
  394.       [jar] adding entry settings/ReaderGUI$1.class
  395.       [jar] adding entry settings/ReaderGUI$2.class
  396.       [jar] adding entry settings/ReaderGUI$3.class
  397.       [jar] adding entry settings/ReaderGUI.class
  398.       [jar] adding directory xml/
  399.       [jar] adding entry xml/Database.class
  400.       [jar] adding entry xml/Informations.class
  401.       [jar] adding entry xml/Internationalization.class
  402.       [jar] adding entry xml/Mapping.class
  403.       [jar] adding entry xml/Reader.class
  404.       [jar] adding entry xml/XmlDatabase.class
  405.       [jar] adding entry xml/XmlInformations.class
  406.       [jar] adding entry xml/XmlInternationalization.class
  407.       [jar] adding entry xml/XmlMapping.class
  408.       [jar] adding entry xml/XmlReader.class
  409.       [jar] duplicate file card/EIDAddress.class found, adding.
  410.       [jar] duplicate file card/EIDCard.class found, adding.
  411.       [jar] duplicate file card/EIDConnection.class found, adding.
  412.       [jar] duplicate file card/EIDInfo.class found, adding.
  413.       [jar] duplicate file card/ISO7816Card.class found, adding.
  414.       [jar] duplicate file card/ISO7816CardException.class found, adding.
  415.       [jar] duplicate file card/SimpleTLVFile.class found, adding.
  416.       [jar] duplicate file database/DbConnection.class found, adding.
  417.       [jar] duplicate file main/Main.class found, adding.
  418.       [jar] duplicate file main/MainGUI$1.class found, adding.
  419.       [jar] duplicate file main/MainGUI$10.class found, adding.
  420.       [jar] duplicate file main/MainGUI$11.class found, adding.
  421.       [jar] duplicate file main/MainGUI$12.class found, adding.
  422.       [jar] duplicate file main/MainGUI$13.class found, adding.
  423.       [jar] duplicate file main/MainGUI$14.class found, adding.
  424.       [jar] duplicate file main/MainGUI$15.class found, adding.
  425.       [jar] duplicate file main/MainGUI$2.class found, adding.
  426.       [jar] duplicate file main/MainGUI$3.class found, adding.
  427.       [jar] duplicate file main/MainGUI$4.class found, adding.
  428.       [jar] duplicate file main/MainGUI$5.class found, adding.
  429.       [jar] duplicate file main/MainGUI$6.class found, adding.
  430.       [jar] duplicate file main/MainGUI$7.class found, adding.
  431.       [jar] duplicate file main/MainGUI$8.class found, adding.
  432.       [jar] duplicate file main/MainGUI$9.class found, adding.
  433.       [jar] duplicate file main/MainGUI.class found, adding.
  434.       [jar] duplicate file settings/DatabaseGUI$1.class found, adding.
  435.       [jar] duplicate file settings/DatabaseGUI$2.class found, adding.
  436.       [jar] duplicate file settings/DatabaseGUI$3.class found, adding.
  437.       [jar] duplicate file settings/DatabaseGUI.class found, adding.
  438.       [jar] duplicate file settings/MappingGUI$1.class found, adding.
  439.       [jar] duplicate file settings/MappingGUI$10.class found, adding.
  440.       [jar] duplicate file settings/MappingGUI$11.class found, adding.
  441.       [jar] duplicate file settings/MappingGUI$12.class found, adding.
  442.       [jar] duplicate file settings/MappingGUI$2.class found, adding.
  443.       [jar] duplicate file settings/MappingGUI$3.class found, adding.
  444.       [jar] duplicate file settings/MappingGUI$4.class found, adding.
  445.       [jar] duplicate file settings/MappingGUI$5.class found, adding.
  446.       [jar] duplicate file settings/MappingGUI$6.class found, adding.
  447.       [jar] duplicate file settings/MappingGUI$7.class found, adding.
  448.       [jar] duplicate file settings/MappingGUI$8.class found, adding.
  449.       [jar] duplicate file settings/MappingGUI$9.class found, adding.
  450.       [jar] duplicate file settings/MappingGUI.class found, adding.
  451.       [jar] duplicate file settings/ReaderGUI$1.class found, adding.
  452.       [jar] duplicate file settings/ReaderGUI$2.class found, adding.
  453.       [jar] duplicate file settings/ReaderGUI$3.class found, adding.
  454.       [jar] duplicate file settings/ReaderGUI.class found, adding.
  455.       [jar] duplicate file xml/Database.class found, adding.
  456.       [jar] duplicate file xml/Informations.class found, adding.
  457.       [jar] duplicate file xml/Internationalization.class found, adding.
  458.       [jar] duplicate file xml/Mapping.class found, adding.
  459.       [jar] duplicate file xml/Reader.class found, adding.
  460.       [jar] duplicate file xml/XmlDatabase.class found, adding.
  461.       [jar] duplicate file xml/XmlInformations.class found, adding.
  462.       [jar] duplicate file xml/XmlInternationalization.class found, adding.
  463.       [jar] duplicate file xml/XmlMapping.class found, adding.
  464.       [jar] duplicate file xml/XmlReader.class found, adding.
  465.       [jar] adding entry Back.gif
  466.       [jar] adding entry Front.gif
  467.       [jar] adding entry TableLayout.jar
  468.       [jar] adding entry commons-beanutils.jar
  469.       [jar] adding entry commons-collections-3.1.jar
  470.       [jar] adding entry commons-digester.jar
  471.       [jar] adding entry commons-logging.jar
  472.       [jar] adding entry jpcsc.jar
  473.       [jar] adding entry mysql-connector-java-3.0.15-ga-bin.jar
  474.       [jar] adding entry pg74.215.jdbc3.jar
  475.       [jar] adding entry util.jar
  476. BUILD SUCCESSFUL
  477. Total time: 16 seconds


 
<!-- java -jar CRA.jar -->
 

Code :
  1. Exception in thread "main" java.lang.NoClassDefFoundError: be/certipost/util/ui/
  2. XYLayout
  3.         at main.MainGUI.<init>(MainGUI.java:88)
  4.         at main.Main.main(Main.java:13)


 
Voilà si quelqu'un voit plus clair que moi, je pense qu'il y a un prob qu niveau de l'excécution où il ne toruve pas apparement be\certipost\util\ui\XYLayout alors que la compilation passe sans problème donc je comprend pas  :(  
 
Si une âme charitable :jap: pouvait m'aider je le remercierai!

Reply

Marsh Posté le 31-03-2005 à 13:50:02    

quoi, tout ça pour un putain de problème de classpath? [:mlc]
merci de lire le topic dédié, et éventuellement de virer tout le paté qu'a rien à voir...


Message édité par the real moins moins le 31-03-2005 à 13:50:24

---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
Reply

Marsh Posté le 31-03-2005 à 13:50:02   

Reply

Marsh Posté le 31-03-2005 à 13:55:29    

Désolé je ne vois pas d'où vient le problème donc je préfère mettre de trop que pas assez... et si c'est un problème de classpath comme tu dis, ben pourrais-tu m'aider car moi je ne vois pas...
 
Merci d'avance.

Reply

Marsh Posté le 31-03-2005 à 13:57:16    

jar tf CRA.jar


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
Reply

Marsh Posté le 31-03-2005 à 14:03:26    

Oui ca liste bien mon .jar mais ca m'avance pas à grand chose :( je le faisais déjà depuis plusieurs fois...

Reply

Marsh Posté le 31-03-2005 à 14:04:43    

Voilà ce que ca donne :
 

Code :
  1. META-INF/
  2. META-INF/MANIFEST.MF
  3. card/
  4. card/EIDAddress.class
  5. card/EIDCard.class
  6. card/EIDConnection.class
  7. card/EIDInfo.class
  8. card/ISO7816Card.class
  9. card/ISO7816CardException.class
  10. card/SimpleTLVFile.class
  11. database/
  12. database/DbConnection.class
  13. main/
  14. main/Main.class
  15. main/MainGUI$1.class
  16. main/MainGUI$10.class
  17. main/MainGUI$11.class
  18. main/MainGUI$12.class
  19. main/MainGUI$13.class
  20. main/MainGUI$14.class
  21. main/MainGUI$15.class
  22. main/MainGUI$2.class
  23. main/MainGUI$3.class
  24. main/MainGUI$4.class
  25. main/MainGUI$5.class
  26. main/MainGUI$6.class
  27. main/MainGUI$7.class
  28. main/MainGUI$8.class
  29. main/MainGUI$9.class
  30. main/MainGUI.class
  31. settings/
  32. settings/DatabaseGUI$1.class
  33. settings/DatabaseGUI$2.class
  34. settings/DatabaseGUI$3.class
  35. settings/DatabaseGUI.class
  36. settings/MappingGUI$1.class
  37. settings/MappingGUI$10.class
  38. settings/MappingGUI$11.class
  39. settings/MappingGUI$12.class
  40. settings/MappingGUI$2.class
  41. settings/MappingGUI$3.class
  42. settings/MappingGUI$4.class
  43. settings/MappingGUI$5.class
  44. settings/MappingGUI$6.class
  45. settings/MappingGUI$7.class
  46. settings/MappingGUI$8.class
  47. settings/MappingGUI$9.class
  48. settings/MappingGUI.class
  49. settings/ReaderGUI$1.class
  50. settings/ReaderGUI$2.class
  51. settings/ReaderGUI$3.class
  52. settings/ReaderGUI.class
  53. xml/
  54. xml/Database.class
  55. xml/Informations.class
  56. xml/Internationalization.class
  57. xml/Mapping.class
  58. xml/Reader.class
  59. xml/XmlDatabase.class
  60. xml/XmlInformations.class
  61. xml/XmlInternationalization.class
  62. xml/XmlMapping.class
  63. xml/XmlReader.class
  64. Back.gif
  65. Front.gif
  66. TableLayout.jar
  67. commons-beanutils.jar
  68. commons-collections-3.1.jar
  69. commons-digester.jar
  70. commons-logging.jar
  71. jpcsc.jar
  72. mysql-connector-java-3.0.15-ga-bin.jar
  73. pg74.215.jdbc3.jar
  74. util.jar

Reply

Marsh Posté le 31-03-2005 à 14:06:26    

Moi ça m'interesse de voir ce qu'il y a dedans.
J'ai l'impression que tu y a mis des .jar? si c'est le cas, faudrait te renseigner un peu là dessus parce que ça marchera pas (du moins si t'esperes que les classes contenues dans ces jar soient disponibles d'emblée pour ton jar "principal" )
 
... soit tu spécifies ton classpath avec java -classpath mais dans ce cas, si je ne m'abuses, tu devrais spécifier ta main class au lieu d'utiliser -jar (à confirmer), ou bien tu fais un uberjar, ça marche très bien. ton appli met un poil plus de temps à démarrer mais apres ça roule


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
Reply

Marsh Posté le 31-03-2005 à 14:07:06    

oui mais ca montre bien qu'il y a pas XYLayout.class ...
tu sais ou elle se trouve cette classe ?

Reply

Marsh Posté le 31-03-2005 à 14:10:15    

En fait oui la classe XYLayout.class se trouve dans le jar util.jar c'est surement ça qui foire alors que j'inclue des jar dans mon jar "principal"...
 
Merci pour vos réponse mais concernant les java -classpath ou uberjar je fais ca a l'execution ou dans mon build.xml?

Reply

Marsh Posté le 31-03-2005 à 14:11:19    

l'uberjar tu peux le builder avec ant
le classpath, ben ué à l'execution
 
use maven


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
Reply

Marsh Posté le 31-03-2005 à 14:11:32    

a l'execution
 
edit : grilled

maven is more than magic


Message édité par sebi le 31-03-2005 à 14:12:27
Reply

Marsh Posté le 31-03-2005 à 14:12:13    

je vais être embetant mais avec comment j'utilise uberjar dans mon build.xml?

Reply

Marsh Posté le 31-03-2005 à 14:12:32    

Ou si tu as un lien me l'expliquant pour pas trop t'embeter ;)

Reply

Marsh Posté le 31-03-2005 à 14:13:16    

t'as essayé google?
(parce que c'est ce que je vais faire, donc bon, si tu pouvais m'eviter ça)


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
Reply

Marsh Posté le 31-03-2005 à 14:14:30    

Oki d'acc merci pour vos renseignements c'est très généreux de vos parts :)

Reply

Marsh Posté le 10-07-2005 à 01:47:46    

Bonjour,
je ne sais pas si c'est le bon forum pour poser ma question, en tout cas veuillez m'excuser si c'est pas le cas.
vous pouvez me dire comment compiler ant?
je cherche a configurer ant, hibernate et middlegen.
je vous remerci d'avance.
 

Reply

Marsh Posté le 21-07-2005 à 09:51:44    

il y a personne qui peut m'aider?

Reply

Marsh Posté le 21-07-2005 à 19:31:46    

pourquoi tu veux *compiler* ant? [:icon15]

Reply

Marsh Posté le 25-07-2005 à 18:55:32    

je que je veux c'est générer le shéma entité-association et aussi les .java,en tapant "ant compile" mais ca marchait pas.

Reply

Marsh Posté le    

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed