Problem compiling

View: New views
3 Messages — Rating Filter:   Alert me  

Problem compiling

by Michael Bechard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I recently did a clean checkout of the entire blue source code from CVS and it wouldn't compile, complaining:

build.xml:94: Could not create task or type of type: junit

I realize all I probably have to do is install junit, but then again I thought blue always had a dependency for junit, so why is this cropping up now? Also, you've always done a good job of including any dependencies in the lib directory and fixing the build.xml file appropriately, so... Or maybe you've switched to Maven? Help me out.

Michael Bechard



     

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluemusic-devel mailing list
Bluemusic-devel@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-devel

Re: Problem compiling

by Steven Yi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

HI Michael,

That error happens with Ant.  Normally, ant includes an ant-junit.jar
in the $ANT_HOME/lib directory, but this is a wrapper for the
junit.jar.   blue includes a junit.jar in its lib folder, and you can
just copy that to $ANT_HOME/lib and things should work.  I think it
used to work with older Ant that having junit.jar with blue on
classpath would do it but maybe it doesn't work anymore, I'm not sure.

Please give that a try and let me know how that goes.

Thanks!
steven

On Tue, May 20, 2008 at 3:55 PM, Michael Bechard <gothmagog@...> wrote:

> I recently did a clean checkout of the entire blue source code from CVS and it wouldn't compile, complaining:
>
> build.xml:94: Could not create task or type of type: junit
>
> I realize all I probably have to do is install junit, but then again I thought blue always had a dependency for junit, so why is this cropping up now? Also, you've always done a good job of including any dependencies in the lib directory and fixing the build.xml file appropriately, so... Or maybe you've switched to Maven? Help me out.
>
> Michael Bechard
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Bluemusic-devel mailing list
> Bluemusic-devel@...
> https://lists.sourceforge.net/lists/listinfo/bluemusic-devel
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluemusic-devel mailing list
Bluemusic-devel@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-devel

Parent Message unknown Re: Problem compiling

by Michael Bechard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, that did it.

----- Original Message ----
From: Steven Yi <stevenyi@...>
To: blue developer list <bluemusic-devel@...>
Sent: Tuesday, May 20, 2008 6:00:21 PM
Subject: Re: [Bluemusic-devel] Problem compiling

HI Michael,

That error happens with Ant.  Normally, ant includes an ant-junit.jar
in the $ANT_HOME/lib directory, but this is a wrapper for the
junit.jar.   blue includes a junit.jar in its lib folder, and you can
just copy that to $ANT_HOME/lib and things should work.  I think it
used to work with older Ant that having junit.jar with blue on
classpath would do it but maybe it doesn't work anymore, I'm not sure.

Please give that a try and let me know how that goes.

Thanks!
steven

On Tue, May 20, 2008 at 3:55 PM, Michael Bechard <gothmagog@...> wrote:

> I recently did a clean checkout of the entire blue source code from CVS and it wouldn't compile, complaining:
>
> build.xml:94: Could not create task or type of type: junit
>
> I realize all I probably have to do is install junit, but then again I thought blue always had a dependency for junit, so why is this cropping up now? Also, you've always done a good job of including any dependencies in the lib directory and fixing the build.xml file appropriately, so... Or maybe you've switched to Maven? Help me out.
>
> Michael Bechard
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Bluemusic-devel mailing list
> Bluemusic-devel@...
> https://lists.sourceforge.net/lists/listinfo/bluemusic-devel
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluemusic-devel mailing list
Bluemusic-devel@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-devel



     

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluemusic-devel mailing list
Bluemusic-devel@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-devel