[Tasktlogger-devel] FW: FW: ANT
Brought to you by:
teiniker
From: Teiniker E. <Ego...@fh...> - 2006-10-11 07:56:26
|
-----Original Message----- From: Teiniker Egon Sent: Wed 10/11/2006 9:24 AM To: Walenta Helmut Subject: RE: [Tasktlogger-devel] FW: ANT =20 Sehr geehrter Herr Walenta, ich vermute Sie haben JUnit nicht installiert - = http://www.junit.org/index.htm.=20 Um den <junit> Task verwenden zu k=F6nnen, mu=DF junit.jar im CLASSPATH = registriert sein (siehe = http://ant.apache.org/manual/OptionalTasks/junit.html). mfg Egon Teiniker -----Original Message----- From: Walenta Helmut [mailto:Hel...@fh...] Sent: Tue 10/10/2006 9:03 PM To: Teiniker Egon Subject: Re: [Tasktlogger-devel] FW: ANT =20 FW: ANTSehr geehrte Hr. Teiniken Ich habe das Ant installiert, Den Pfad f=FCr BIN erg=E4nzt und die Variable ANT_HOME eingetragen. Soweit sieht alles richtig aus. Wenn ich bei ihren Beispiel in der DOS Eingabeaufforderung jetzt=20 ant eingebe beginnt er korrekt, bricht aber dann beim check mit einer Fehlermeldung ab. k=F6nnten sie mir einen Tip geben, was noch falsch ist? mfg Helmut Walenta SWD04=20 Fehler -------------------------------------------------------------------------= ------------ C:\_FH\Semester V\SWE\Java_Beispiele\JUnitExample>ant Buildfile: build.xml init: compile: check: BUILD FAILED C:\_FH\Semester V\SWE\Java_Beispiele\JUnitExample\build.xml:28: Could = not create task or type of type: junit. Ant could not find the task or a class this task relies upon. This is common and has a number of causes; the usual solutions are to read the manual pages then download and install needed JAR files, or fix the build file: - You have misspelt 'junit'. Fix: check your spelling. - The task needs an external JAR file to execute and this is not found at the right place in the classpath. Fix: check the documentation for dependencies. Fix: declare the task. - The task is an Ant optional task and the JAR file and/or libraries implementing the functionality were not found at the time you yourself built your installation of Ant from the Ant sources. Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the task and make sure it contains more than merely a = META-INF/MANIFEST.MF. If all it contains is the manifest, then rebuild Ant with the = needed libraries present in ${ant.home}/lib/optional/ , or alternatively, download a pre-built release version from apache.org - The build file was written for a later version of Ant Fix: upgrade to at least the latest release version of Ant - The task is not an Ant core or optional task and needs to be declared using <taskdef>. - You are attempting to use a task defined using <presetdef> or <macrodef> but have spelt wrong or not defined it at the point of use Remember that for JAR files to be visible to Ant tasks implemented in ANT_HOME/lib, the files must be in the same directory or on the classpath Please neither file bug reports on this problem, nor email the Ant mailing lists, until all of these causes have been explored, as this is not an Ant bug. Total time: 0 seconds C:\_FH\Semester V\SWE\Java_Beispiele\JUnitExample> ----- Original Message -----=20 From: Teiniker Egon=20 To: tasktlogger-devel=20 Sent: Tuesday, October 10, 2006 10:12 AM Subject: [Tasktlogger-devel] FW: ANT -----Original Message----- From: Teiniker Egon Sent: Tue 10/10/2006 10:10 AM To: Lipovsek Natascha Subject: RE: ANT Sehr geehrte Frau Lipovsek, ich werde am Sa in der Online Session Ant und Subversion herzeigen und = besprechen. Wenn Sie nicht solange warten wollen, bitte schauen Sie sich die = Beispiele auf der eLearning Plattform (Software Engineering 3/examples) = an, die verwenden auch Ant als Build-Tool. Speziell das Servlet Beispiel = enth=E4lt ein build.xml File das Sie praktisch direkt =FCbernehmen = k=F6nnen. Sie k=F6nnen Ant build.xml Scripts auch direkt in Eclipse ausf=FChren = (Ant wird mit Eclipse ausgeliefert). Sie klicken auf das build.xml File = mit der rechten Maustaste und w=E4hlen "Run As" -> "Ant Build..." - dann = wird der Ant Build-Vorgang gestartet. Wenn Sie Ant von der Console aus starten wollen, m=FCssen Sie das = "ant/bin" Verzeichnis in die PATH Variable eintragen. Dann k=F6nnen Sie = mit "ant" das build.xml File (das im selben Verzeichnis liegt) = ausf=FChren. mfg Egon Teiniker -----Original Message----- From: Lipovsek Natascha Sent: Mon 10/9/2006 7:05 PM To: Teiniker Egon Subject: ANT Sehr geehrter Herr Teiniker! Wir haben uns heute mit der Installation von ANT besch=E4ftigt und = haben nun Probleme dieses zu verwenden. Vielleicht k=F6nnten Sie uns = diesbez=FCglich ein paar Tipps geben. Da wir ein ANT-File erstellen sollen, w=E4re auch hier etwas Input = notwendig. Mit freundlichen Gr=FC=DFen Natascha & Friederike (SWD04 Integrationsteam) -------------------------------------------------------------------------= ----- = -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to = share your opinions on IT & business topics through brief surveys -- and earn = cash = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV -------------------------------------------------------------------------= ----- _______________________________________________ Tasktlogger-devel mailing list Tas...@li... https://lists.sourceforge.net/lists/listinfo/tasktlogger-devel -------------------------------------------------------------------------= ----- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.1/470 - Release Date: = 10.10.2006 |