build error on stable release

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

build error on stable release

Patrick-4
I think I am running the most stable release 9.04, but I can't
completely remember which version I downloaded.  How can I get the
version number from OfBiz?

I was going to use my build number to ask this question.  I tried to
compile by running ant, I just typed "ant" in the ofbiz-trunk
directory.  I get the following error.

BUILD FAILED
/opt/ofbiz-trunk/build.xml:190: The following error occurred while
executing this line:
/opt/ofbiz-trunk/framework/build.xml:147: The following error occurred
while executing this line:
/opt/ofbiz-trunk/macros.xml:27: The following error occurred while
executing this line:
/opt/ofbiz-trunk/common.xml:51: taskdef A class needed by class
org.ofbiz.tools.ant.IfTask cannot be found: ConditionBase

Line 51 is this:         <taskdef name="if"
classname="org.ofbiz.tools.ant.IfTask"
classpath="${ofbiz.home.dir}/tools/build/classes"/>

What should I do to make it compile?  Thanks.
Patrick
Reply | Threaded
Open this post in threaded view
|

Re: build error on stable release

Adrian Crum
ant build

or

ant run-install

-Adrian


Patrick wrote:

> I think I am running the most stable release 9.04, but I can't
> completely remember which version I downloaded.  How can I get the
> version number from OfBiz?
>
> I was going to use my build number to ask this question.  I tried to
> compile by running ant, I just typed "ant" in the ofbiz-trunk
> directory.  I get the following error.
>
> BUILD FAILED
> /opt/ofbiz-trunk/build.xml:190: The following error occurred while
> executing this line:
> /opt/ofbiz-trunk/framework/build.xml:147: The following error occurred
> while executing this line:
> /opt/ofbiz-trunk/macros.xml:27: The following error occurred while
> executing this line:
> /opt/ofbiz-trunk/common.xml:51: taskdef A class needed by class
> org.ofbiz.tools.ant.IfTask cannot be found: ConditionBase
>
> Line 51 is this:         <taskdef name="if"
> classname="org.ofbiz.tools.ant.IfTask"
> classpath="${ofbiz.home.dir}/tools/build/classes"/>
>
> What should I do to make it compile?  Thanks.
> Patrick
>
Reply | Threaded
Open this post in threaded view
|

Re: build error on stable release

Mridul Pathak-2
In reply to this post by Patrick-4
If you have checked it out via SVN, then to get the revision number of your
installed copy, on terminal go to OFBiz trunk directory, and run "svn info"
command, it will give you the revision info of your installed copy.

--
Thanks & Regards
Mridul Pathak
Hotwax Media
http://www.hotwaxmedia.com
[hidden email]
-------------------------------------------------
direct: +91 - 942.592.6892


On Mon, Jan 25, 2010 at 12:49 PM, Patrick <[hidden email]>wrote:

> I think I am running the most stable release 9.04, but I can't
> completely remember which version I downloaded.  How can I get the
> version number from OfBiz?
>
> I was going to use my build number to ask this question.  I tried to
> compile by running ant, I just typed "ant" in the ofbiz-trunk
> directory.  I get the following error.
>
> BUILD FAILED
> /opt/ofbiz-trunk/build.xml:190: The following error occurred while
> executing this line:
> /opt/ofbiz-trunk/framework/build.xml:147: The following error occurred
> while executing this line:
> /opt/ofbiz-trunk/macros.xml:27: The following error occurred while
> executing this line:
> /opt/ofbiz-trunk/common.xml:51: taskdef A class needed by class
> org.ofbiz.tools.ant.IfTask cannot be found: ConditionBase
>
> Line 51 is this:         <taskdef name="if"
> classname="org.ofbiz.tools.ant.IfTask"
> classpath="${ofbiz.home.dir}/tools/build/classes"/>
>
> What should I do to make it compile?  Thanks.
> Patrick
>