- 
        1. Re: Unexpected element zipfilesetgavin.king Sep 14, 2006 4:51 PM (in response to clockdva)Perhaps you have a very ancient version of Ant installed. 
- 
        2. Re: Unexpected element zipfilesetclockdva Sep 14, 2006 5:13 PM (in response to clockdva)"gavin.king@jboss.com" wrote: 
 Perhaps you have a very ancient version of Ant installed.
 yes, i have changed ant version and now the error is:
 \jboss-seam-1.0.1.GA\examples\booking\src\org\jboss\seam\example\booking\Booking
 .java:22: illegal character: \64
 [javac] @Entity
 [javac] ^
 what can i do?
 thanks
- 
        3. Re: Unexpected element zipfilesetgavin.king Sep 14, 2006 5:15 PM (in response to clockdva)install JDK 5 
- 
        4. Re: Unexpected element zipfilesetclockdva Sep 14, 2006 5:17 PM (in response to clockdva)if i i try java -version on my cmd i get: 
 >java -version
 java version "1.5.0_04"
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
 Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
 it's not JDK 5?
 where cain i find JDK 5?
 thanks
- 
        5. Re: Unexpected element zipfilesetgavin.king Sep 14, 2006 5:19 PM (in response to clockdva)Try javac -version. 
- 
        6. Re: Unexpected element zipfilesetclockdva Sep 14, 2006 5:21 PM (in response to clockdva)"gavin.king@jboss.com" wrote: 
 Try javac -version.
 1.0.1.GA\examples\booking>javac -version
 javac: invalid flag: -version
 Usage: javac <source files>
 where can i find JDK 5? (i.m looking on java.sun but i can't find)
- 
        7. Re: Unexpected element zipfilesetgavin.king Sep 14, 2006 5:26 PM (in response to clockdva)C:\Documents and Settings\Gavin>javac -version javac 1.5.0_05 javac: no source files Usage: javac <options> <source files> 
 http://java.sun.com/javase/downloads/index.jsp
- 
        8. Re: Unexpected element zipfilesetgavin.king Sep 14, 2006 5:28 PM (in response to clockdva)Make sure JAVA_HOME and PATH are set correctly. 
- 
        9. Re: Unexpected element zipfilesetclockdva Sep 14, 2006 5:54 PM (in response to clockdva)i have installed jdk5 and when i run jboss: 
 Could not locate C:\jdk1.5.0_08\lib\tools.jar. Unexpected results may occur.
 Make sure that JAVA_HOME points to a JDK and not a JRE.
 ===============================================================================
 .
 JBoss Bootstrap Environment
 .
 JBOSS_HOME: C:\Programmi\jboss-4.0.4.GA\bin\\..
 .
 JAVA: C:\jdk1.5.0_08\bin\java
 .
 JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn
 terval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
 .
 CLASSPATH: C:\jdk1.5.0_08\lib\tools.jar;C:\Programmi\jboss-4.0.4.GA\bin\\run.j
 ar
 .
 ===============================================================================
 .
 The system cannot find the path specified.
 Press any key to continue . . .
 classpath:
 .;J:\D2\front242\NONCENTRANOdaLuglio2005\esempiMIEI\ereditarieta\New Folder;C:\jdk1.5.0_08\lib;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar
 javahome:
 C:\jdk1.5.0_08
 path:
 %PATH%;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%JAVA_HOME%\bin;C:\jdk1.5.0_08\bin;%ANT_HOME%\bin;C:\PHP
 what can i do?
 thanks, you are very kind
- 
        10. Re: Unexpected element zipfilesetgavin.king Sep 14, 2006 5:58 PM (in response to clockdva)Make sure that JAVA_HOME points to a JDK and not a JRE. 
- 
        11. Re: Unexpected element zipfilesetclockdva Sep 14, 2006 6:19 PM (in response to clockdva)yes i know, maybe i can't find the right jsk 5 to download 
- 
        12. Re: Unexpected element zipfilesetclockdva Sep 14, 2006 6:45 PM (in response to clockdva)ok, tha path was missed 
 now when i use ant i get "BUILD SUCCESSFUL"
 but i 'm not able to see my application in
 http://localhost:8080/seam-booking/
 maybe i have missed the directory to extract Seam.
 do you know anything??
 thanks
- 
        13. Re: Unexpected element zipfilesetclockdva Sep 14, 2006 7:01 PM (in response to clockdva)i didn't write build.properties correctly 
 now everything is ok (maybe :-) )
 thanks
- 
        14. Re: Unexpected element zipfilesetclockdva Sep 14, 2006 7:01 PM (in response to clockdva)you are very kind 
 
    