Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1521 connectés 

 


 Mot :   Pseudo :  
 
 Page :   1  2
Page Suivante
Auteur Sujet :

A ceux qui utilisent ANT...[Résolu merci Dark et Greg]

n°192242
darklord
You're welcome
Posté le 08-08-2002 à 17:17:14  profilanswer
 

Reprise du message précédent :

veryfree a écrit a écrit :

 
 
j ai pas compris la depuis qd windows est sensible a la casse?




 
ce n'est pas le cas mais vaut mieux prendre les bonnes habitudes dès le début surtout qd ca ne fonctionne pas ;)


---------------
Just because you feel good does not make you right
mood
Publicité
Posté le 08-08-2002 à 17:17:14  profilanswer
 

n°192244
veryfree
Posté le 08-08-2002 à 17:18:45  profilanswer
 

DarkLord a écrit a écrit :

ah ok :)
 
commence déjà par mettre ant home dans un répertoire valide et sans ces *é"42365654 d'espaces :fou:
 
 




 
c'est fait maintenant  :jap:
edit : et ca marche toujours pas :/


Message édité par veryfree le 08-08-2002 à 17:30:08
n°192253
--greg--
Posté le 08-08-2002 à 17:26:56  profilanswer
 

r3g: et avec javadoc en commandline t'y arrives?

n°192255
veryfree
Posté le 08-08-2002 à 17:28:45  profilanswer
 

qd je fait -verbose:
 
jmet pas tout c'est trop long...
 

BUILD FAILED
file:C:/Documents and Settings/Administrateur/Bureau/jmsn/build.xml:26: Cannot use classic compiler, as it is not available.  A common solution is to set the environment variable JAVA_HOME to your jdk directory.
 at org.apache.tools.ant.taskdefs.compilers.Javac12.execute(Javac12.java:110)
 at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:840)
 at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
 at org.apache.tools.ant.Task.perform(Task.java:317)
 at org.apache.tools.ant.Target.execute(Target.java:309)
 at org.apache.tools.ant.Target.performTasks(Target.java:334)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
 at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
 at org.apache.tools.ant.Main.runBuild(Main.java:610)
 at org.apache.tools.ant.Main.start(Main.java:196)
 at org.apache.tools.ant.Main.main(Main.java:235)
 
Total time: 2 seconds

n°192257
--greg--
Posté le 08-08-2002 à 17:29:40  profilanswer
 

fais un peu un search sur javac.exe sur ton tout disque toi

n°192258
darklord
You're welcome
Posté le 08-08-2002 à 17:32:38  profilanswer
 

--greg-- a écrit a écrit :

fais un peu un search sur javac.exe sur ton tout disque toi




 
 :jap: (bien vu)
 
sauf que ca pourrait très bien etre java (la machine virtuelle qui lance ant)


Message édité par darklord le 08-08-2002 à 17:33:07

---------------
Just because you feel good does not make you right
n°192259
--greg--
Posté le 08-08-2002 à 17:33:53  profilanswer
 

darklord: ben ant lui repond qu'il trouve pas le bon compilo, je me dis qu'il tombe pê sur un autre compilo avant de tomber sur le bon...

n°192261
darklord
You're welcome
Posté le 08-08-2002 à 17:36:20  profilanswer
 

non j'ai bien compris et je dis bien vu :jap:
 
mais peut etre qu'il faut qu'il jette un oeil a java lui meme. Bien que vu l'erreur ce soit moins probable


---------------
Just because you feel good does not make you right
n°192269
veryfree
Posté le 08-08-2002 à 17:38:51  profilanswer
 

voila la recherche est fini:
 
 

  • javac.exe ds le rep bin du jdk
  • oldjavac.exe ds le meme repertoire...


donc il peux pas se tromper de compilo ou irait t il le chercher?


Message édité par veryfree le 08-08-2002 à 17:44:06
n°192273
--greg--
Posté le 08-08-2002 à 17:41:04  profilanswer
 

veryfree a écrit a écrit :

voila la recherche est fini
 
y a javac.exe ds le rep jdk
et oldjavac.exe ds le meme repertoire...
 
donc il peux pas se tromper de compilo ou irait t il le chercher?




effectivement
zarbi
dans la directive javac y'a un attribut usecompiler ou un truc comme ça regarde un peu la dedans

mood
Publicité
Posté le 08-08-2002 à 17:41:04  profilanswer
 

n°192279
darklord
You're welcome
Posté le 08-08-2002 à 17:43:21  profilanswer
 

cherche aussi "java.exe"


---------------
Just because you feel good does not make you right
n°192289
veryfree
Posté le 08-08-2002 à 17:49:44  profilanswer
 

--greg-- a écrit a écrit :

 
dans la directive javac y'a un attribut usecompiler ou un truc comme ça regarde un peu la dedans




non y a pas d attribu usecompiler  :sweat:

n°192292
veryfree
Posté le 08-08-2002 à 17:50:42  profilanswer
 

DarkLord a écrit a écrit :

cherche aussi "java.exe"




 
http://very.free.free.fr/forum/java.gif

n°192294
darklord
You're welcome
Posté le 08-08-2002 à 17:52:11  profilanswer
 

Ahhhhhh
 
enlève java.exe dans c:\winnt\system32


---------------
Just because you feel good does not make you right
n°192306
veryfree
Posté le 08-08-2002 à 18:00:04  profilanswer
 

DarkLord a écrit a écrit :

Ahhhhhh
 
enlève java.exe dans c:\winnt\system32




 
toujours pareil  
voila ma ligne de command au cas ou
 
 
C:\jdk1.3.1_01\bin\java -jar %ant_home%/lib/ant.jar
pause
 
edit : je suis ds le repertoire ou se trouve mon fichier build.xml...


Message édité par veryfree le 08-08-2002 à 18:01:24
n°192307
darklord
You're welcome
Posté le 08-08-2002 à 18:01:09  profilanswer
 

mais tu fais quoi là ? t'es pas bien toi ?
 
dans ta distribution il y a un répertoire "bin". Tu dois ajouter le répertoire bin dans ton PATH et faire
 
ant
 
dans le répertoire ou se trouve ton build.xml


---------------
Just because you feel good does not make you right
n°192309
darklord
You're welcome
Posté le 08-08-2002 à 18:01:34  profilanswer
 

ne me dis pas que tu as fait un post de 2 pages parce que tu n'as pas pris la peine de lire README.txt :fou:
 


---------------
Just because you feel good does not make you right
n°192318
veryfree
Posté le 08-08-2002 à 18:10:14  profilanswer
 

DarkLord a écrit a écrit :

mais tu fais quoi là ? t'es pas bien toi ?
 
dans ta distribution il y a un répertoire "bin". Tu dois ajouter le répertoire bin dans ton PATH et faire
 
ant
 
dans le répertoire ou se trouve ton build.xml




a ok
 
tout marche maitenant
merci infiniment
chui confus qd meme de vous avoir fait faire tans d effort
 [:franck1135]

n°192321
darklord
You're welcome
Posté le 08-08-2002 à 18:11:14  profilanswer
 

:cry:  :cry:  :cry:


---------------
Just because you feel good does not make you right
n°192323
--greg--
Posté le 08-08-2002 à 18:12:14  profilanswer
 

laule

n°192324
veryfree
Posté le 08-08-2002 à 18:12:44  profilanswer
 

DarkLord a écrit a écrit :

ne me dis pas que tu as fait un post de 2 pages parce que tu n'as pas pris la peine de lire README.txt :fou:
 
 




j ai lu le readme qd meme:  
 
 

                                A     N     T
 
 
  What is it?  
  -----------
   
  Ant is a Java based build tool. In theory it is kind of like "make"  
  without makes wrinkles and with the full portability of pure java code.
 
   
  Why?
  ----
   
  Why another build tool when there is already make, gnumake, nmake, jam,  
  and others? Because all of those tools have limitations that its original  
  author couldn't live with when developing software across multiple platforms.  
   
  Make-like tools are inherently shell based. They evaluate a set of  
  dependencies and then execute commands not unlike what you would issue on a  
  shell. This means that you can easily extend these tools by using or writing  
  any program for the OS that you are working on. However, this also means that  
  you limit yourself to the OS, or at least the OS type such as Unix, that you  
  are working on.
   
  Makefiles are inherently evil as well. Anybody who has worked on them for any  
  time has run into the dreaded tab problem. "Is my command not executing  
  because I have a space in front of my tab!!!" said the original author of Ant  
  way too many times. Tools like Jam took care of this to a great degree, but  
  still use yet another format to use and remember.
   
  Ant is different. Instead a model where it is extended with shell based  
  commands, it is extended using Java classes. Instead of writing shell  
  commands, the configuration files are XML based calling out a target tree  
  where various tasks get executed. Each task is run by an object which  
  implements a particular Task interface.
   
  Granted, this removes some of the expressive power that is inherent by being  
  able to construct a shell command such as `find . -name foo -exec rm {}` but  
  it gives you the ability to be cross platform. To work anywhere and  
  everywhere. And hey, if you really need to execute a shell command, Ant has  
  an exec rule that allows different commands to be executed based on the OS  
  that it is executing on.
 
  The Latest Version
  ------------------
 
  Details of the latest version can be found on the Apache Jakarta
  Project web site <http://jakarta.apache.org/>.
 
 
  Documentation
  -------------
 
  Documentation is available in HTML format, in the docs/ directory.
  For information about building and installing Ant, see
  docs/manual/index.html
 
 
  Licensing
  ---------
 
  This software is licensed under the terms you may find in the file  
  named "LICENSE" in this directory.
   
 
  Thanks for using Ant.
 
                                          The Apache Jakarta Project
                                         <http://jakarta.apache.org/>


 
et apres j avait lu les options de la ligne de commande...

n°192327
veryfree
Posté le 08-08-2002 à 18:14:02  profilanswer
 

bon ok chui un gros boulet de toute facon c bien connu  :p

n°192333
--greg--
Posté le 08-08-2002 à 18:21:43  profilanswer
 

veryfree a écrit a écrit :

bon ok chui un gros boulet de toute facon c bien connu  :p  



:D
laisse, veryfree, tu sais bien hein darklord...
:D

n°192338
darklord
You're welcome
Posté le 08-08-2002 à 18:28:29  profilanswer
 

:jap:


---------------
Just because you feel good does not make you right
n°192343
veryfree
Posté le 08-08-2002 à 18:36:21  profilanswer
 

n'empeche j ai appris pleins de truc et pas seulement a configurer ant  :o

n°192362
benou
Posté le 08-08-2002 à 18:53:50  profilanswer
 

veryfree a écrit a écrit :

bon ok chui un gros boulet de toute facon c bien connu  :p  




cherrytree doit être fière de toi ! :D

n°192365
veryfree
Posté le 08-08-2002 à 18:55:45  profilanswer
 

benou a écrit a écrit :

 
cherrytree doit être fière de toi ! :D




 
 :D  
 
avec un maitre comme lui je ne peux qu etre bon [provocation inside]

mood
Publicité
Posté le   profilanswer
 

 Page :   1  2
Page Suivante

Aller à :
Ajouter une réponse
 

Sujets relatifs
renseigner un champ de type date dans mysql ........(résolu)Repérer un caractere dans une chaine de caractere .. g un bug [RESOLU]
question toute simple, comment arrondir une valeur? [RESOLU][VB(A)] index de composants(résolu)
JS --> fermer popup + refresh de la page en dessous (auto-résolu)[Jdk1.3.1]Comment obtenir un InputStream sur un StringBuffer [RESOLU]
Problème de frames : ciblage absolu d'une image (Résolu)[MERCI RESOLU] shell sh....AWK grace au melange d'idees
darklord et --greg-- sont en weekend de dev.... ZE TOPÏC 
Plus de sujets relatifs à : A ceux qui utilisent ANT...[Résolu merci Dark et Greg]


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)