I had this same issue when using ant set-up from within Eclipse.

This wike page has all the answers:

http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseEclipse

I went with:

"The easiest way to configure Eclipse for AppFuse is to install Ant on your
hard drive (i.e. c:\Tools\apache-ant-1.6.2) and then point Eclipse's
ANT_HOME to this directory. To do this, go to Window → Preferences → Ant →
Runtime. Then click the "Ant Home" button and select the installation folder
on your hard drive."

Smooth sailing now!




Matt Raible-3 wrote:
> 
> This problem is caused by the fact that you're using the Ant installed
> by Suse.  I'd recommend downloading and installing Ant from Apache.  I
> tried to get Suse's working a while back, but could never figure it
> out.
> 
> Matt
> 
> On 10/7/06, OpenHaus <[EMAIL PROTECTED]> wrote:
>>
>> Hello Fadi.
>>
>> Thank you for your answer!
>>
>> As a side note I have been using open source for - let?s see - at least
>> eight years now. Believe me I have been running in all kind of problems
>> before. But this has been the fastest answer ever I believe.
>>
>> Sorry for not being more precisely. I just upgraded my linux box from
>> SuSE10.0 to SuSE10.1. I am running the command on the command line
>> (bash).
>>
>> # ant new
>>
>> I have set ANT_HOME to
>>
>> # echo $ANT_HOME
>> # /usr/share/ant
>>
>> I have not closed the window and started it again. I believe the export
>> of
>> the var ANT_HOME will be dismissed in that case. I just tried it. It is.
>>
>> I do the following:
>>
>> # export ANT_HOME=/usr/share/ant
>>
>> ANT_HOME is then set. I know because if I issue the command "ant new"
>> before
>> that, I get the following:
>>
>> BUILD FAILED
>> /opt/Projects/java-dev/appfuse/build.xml:17: Please copy junit.jar into
>> ${env.ANT_HOME}/lib
>>
>> See the "${env.ANT_HOME}/lib" - this is what is written in the
>> build-file.
>>
>> But if I export ANT_HOME as described above I get
>>
>> BUILD FAILED
>> /opt/Projects/java-dev/appfuse/build.xml:17: Please copy junit.jar into
>> /usr/share/ant/lib
>>
>> The error message I had before. So setting the path / var should be fine.
>>
>> Is there anything else I could have missed?
>>
>> Thank you,
>> Fabio.
>>
>>
>> Fadi Samara wrote:
>> >
>> > If you are willing to give up that easy, then maybe you should not
>> > consider
>> > open source at all.  we all encounter problems on a daily basis.  you
>> just
>> > have to be patient.
>> >
>> > Are you running ant new from your IDE or command line ?  Have you setup
>> > ANT_HOME ?
>> > If you are running it from command line and you are sure you placed
>> > junit.jar into ANT_HOME then close that window and open it again.  If
>> from
>> > your IDE, exit out and run it again.  We've all gone through this error
>> > and
>> > was fairly simple solution.
>> >
>> > Thanks
>> >
>> >
>> > On 10/7/06, OpenHaus <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Hello,
>> >>
>> >> I am trying to run "ant new". I followed all the instructions in the
>> >> quick
>> >> start guide. My problem is that ant always stops with the following
>> >> message:
>> >>
>> >> BUILD FAILED
>> >> appfuse/build.xml:17: Please copy junit.jar into /usr/share/ant/lib
>> >>
>> >> The error message seems pretty clear to. I copied "junit.jar" into the
>> >> mentioned directory. The error stays.
>> >> I searched the web. I tried every thing I could find. Nothing changed.
>> >> What?s the trick? What I am missing?
>> >>
>> >> I also commented the check in the appropriate file. Than "ant new"
>> goes
>> >> all
>> >> the way to the end but later on with "ant setup" I run into trouble
>> with
>> >> the
>> >> "junit.jar" archive again.
>> >>
>> >> Who can help? I am about to give up trying to use appfuse.
>> >>
>> >> Thank you very much,
>> >> Fabio.
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Issue-with-junit.jar-tf2401960s2369.html#a6697165
>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > --
>> > Fadi Samara
>> > 851 North Glebe Rd. Apt #1805
>> > Arlington, VA 22203
>> > (703)944-9875
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Issue-with-junit.jar-tf2401960s2369.html#a6697320
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Issue-with-junit.jar-tf2401960s2369.html#a11106151
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to