Dev - Opentaps build error - Element type "subant" must be declared

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

Dev - Opentaps build error - Element type "subant" must be declared

Chuck22
I download the Opentaps 0.9.0 with no code modification and imported into Eclipse 3.1. I got 9 build errors out of the box. Most of them are related to subant. e.g. the first error is - Element type "subant" must be declared.
 
<target name="tests">
        <subant target="tests">
            <filelist refid="test-builds"/>
        </subant>
    </target>
 
Eclipse 3.1 comes with Ant 1.6.5, it should support "subant". Anyone knows why this is happening?

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Opentaps build error - Element type "subant" must bedeclared

Jacques Le Roux
Administrator
 
Jacques
----- Original Message -----
Sent: Tuesday, June 13, 2006 9:49 PM
Subject: [OFBiz] Dev - Opentaps build error - Element type "subant" must bedeclared

I download the Opentaps 0.9.0 with no code modification and imported into Eclipse 3.1. I got 9 build errors out of the box. Most of them are related to subant. e.g. the first error is - Element type "subant" must be declared.
 
<target name="tests">
        <subant target="tests">
            <filelist refid="test-builds"/>
        </subant>
    </target>
 
Eclipse 3.1 comes with Ant 1.6.5, it should support "subant". Anyone knows why this is happening?



_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Opentaps build error - Element type "subant" must bedeclared

Chuck22
Jacques
 
I can build using - Ant run-install - scripts under root folder. And I am able to run Opentaps 0.9.0. So I think the nested build.xml files are all fine in the project. I just can not build it within Eclipse 3.1. I got the following error while call "Run Ant" on C:\opentaps- 0.9.0\build.xml within Eclipse.
 
***************E R R O R    M S G***********************

BUILD FAILED
C:\opentaps-0.9.0\build.xml:151: The following error occurred while executing this line:
C:\opentaps-0.9.0\framework\webtools\build.xml:145: Execute failed: java.io.IOException: CreateProcess: jarsigner.exe -keystore C:\opentaps-0.9.0\base\config\ofbizssl.jks -storepass changeit -storetype jks -keypass changeit -sectionsonly C:\opentaps-0.9.0\framework\webtools\webapp\webtools\applet\ofbiz-webtools-print.jar ssl error=2

Total time: 34 seconds

Line 151 is the first line of the following code:

<subant inheritall="false">
            <filelist refid="framework-builds"/>
            <filelist refid="application-builds"/>
            <fileset dir="${basedir}/hot-deploy" casesensitive="no">
                <include name="**/build.xml"/>
            </fileset>
        </subant>

*******************************************************

Does anyone has Opentaps dev environment setup reference? 
 
CB

 
On 6/14/06, Jacques Le Roux <[hidden email]> wrote:
Perhaps have a look at this : <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=30569" target="_blank"> http://issues.apache.org/bugzilla/show_bug.cgi?id=30569
 
Jacques
----- Original Message -----
Sent: Tuesday, June 13, 2006 9:49 PM
Subject: [OFBiz] Dev - Opentaps build error - Element type "subant" must bedeclared

 
I download the Opentaps 0.9.0 with no code modification and imported into Eclipse 3.1. I got 9 build errors out of the box. Most of them are related to subant. e.g. the first error is - Element type "subant" must be declared.
 
<target name="tests">
        <subant target="tests">
            <filelist refid="test-builds"/>
        </subant>
    </target>
 
Eclipse 3.1 comes with Ant 1.6.5, it should support "subant". Anyone knows why this is happening?



_______________________________________________
Dev mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target="_blank"> http://lists.ofbiz.org/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target="_blank">http://lists.ofbiz.org/mailman/listinfo/dev



 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Opentaps build error - Element type "subant" must bedeclared

Si Chen-2
I don't know about eclipse but this error seems to happen when people have used the JRE instead of the JDK.

Si

On Jun 14, 2006, at 7:21 AM, Chris Bai wrote:

Jacques
 
I can build using - Ant run-install - scripts under root folder. And I am able to run Opentaps 0.9.0. So I think the nested build.xml files are all fine in the project. I just can not build it within Eclipse 3.1. I got the following error while call "Run Ant" on C:\opentaps- 0.9.0\build.xml within Eclipse.
 
***************E R R O R    M S G***********************

BUILD FAILED
C:\opentaps-0.9.0\build.xml:151: The following error occurred while executing this line:
C:\opentaps-0.9.0\framework\webtools\build.xml:145: Execute failed: java.io.IOException: CreateProcess: jarsigner.exe -keystore C:\opentaps-0.9.0\base\config\ofbizssl.jks -storepass changeit -storetype jks -keypass changeit -sectionsonly C:\opentaps-0.9.0\framework\webtools\webapp\webtools\applet\ofbiz-webtools-print.jar ssl error=2

Total time: 34 seconds

Line 151 is the first line of the following code:

<subant inheritall="false">
            <filelist refid="framework-builds"/>
            <filelist refid="application-builds"/>
            <fileset dir="${basedir}/hot-deploy" casesensitive="no">
                <include name="**/build.xml"/>
            </fileset>
        </subant>

*******************************************************

Does anyone has Opentaps dev environment setup reference? 
 
CB

 
On 6/14/06, Jacques Le Roux <[hidden email]> wrote:
Perhaps have a look at this : <A onclick="return top.js.OpenExtLink(window,event,this)" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=30569" target="_blank"> http://issues.apache.org/bugzilla/show_bug.cgi?id=30569
 
Jacques
----- Original Message -----
Sent: Tuesday, June 13, 2006 9:49 PM
Subject: [OFBiz] Dev - Opentaps build error - Element type "subant" must bedeclared

 
I download the Opentaps 0.9.0 with no code modification and imported into Eclipse 3.1. I got 9 build errors out of the box. Most of them are related to subant. e.g. the first error is - Element type "subant" must be declared.
 
<target name="tests">
        <subant target="tests">
            <filelist refid="test-builds"/>
        </subant>
    </target>
 
Eclipse 3.1 comes with Ant 1.6.5, it should support "subant". Anyone knows why this is happening?




_______________________________________________
Dev mailing list
[hidden email]
<A onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target="_blank"> http://lists.ofbiz.org/mailman/listinfo/dev




_______________________________________________
Dev mailing list
[hidden email]
<A onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target="_blank">http://lists.ofbiz.org/mailman/listinfo/dev



_______________________________________________
Dev mailing list


 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Opentaps build error - Element type "subant" mustbedeclared

Jacques Le Roux
Administrator
In reply to this post by Chuck22
Are you using Java 1.4 (SDK not JRE) ? 1.5 is possible but very tedious and not guaranted : http://sourceforge.net/forum/forum.php?thread_id=1465209&forum_id=487771
 
You may use 1.4 having also 1.5 on your machine : use JAVA_HOME (see startofbiz.bat or .sh)
 
Jacques
----- Original Message -----
Sent: Wednesday, June 14, 2006 4:21 PM
Subject: Re: [OFBiz] Dev - Opentaps build error - Element type "subant" mustbedeclared

Jacques
 
I can build using - Ant run-install - scripts under root folder. And I am able to run Opentaps 0.9.0. So I think the nested build.xml files are all fine in the project. I just can not build it within Eclipse 3.1. I got the following error while call "Run Ant" on C:\opentaps- 0.9.0\build.xml within Eclipse.
 
***************E R R O R    M S G***********************

BUILD FAILED
C:\opentaps-0.9.0\build.xml:151: The following error occurred while executing this line:
C:\opentaps-0.9.0\framework\webtools\build.xml:145: Execute failed: java.io.IOException: CreateProcess: jarsigner.exe -keystore C:\opentaps-0.9.0\base\config\ofbizssl.jks -storepass changeit -storetype jks -keypass changeit -sectionsonly C:\opentaps-0.9.0\framework\webtools\webapp\webtools\applet\ofbiz-webtools-print.jar ssl error=2

Total time: 34 seconds

Line 151 is the first line of the following code:

<subant inheritall="false">
            <filelist refid="framework-builds"/>
            <filelist refid="application-builds"/>
            <fileset dir="${basedir}/hot-deploy" casesensitive="no">
                <include name="**/build.xml"/>
            </fileset>
        </subant>

*******************************************************

Does anyone has Opentaps dev environment setup reference? 
 
CB

 
On 6/14/06, Jacques Le Roux <[hidden email]> wrote:
Perhaps have a look at this : <A onclick="return top.js.OpenExtLink(window,event,this)" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=30569" target=_blank>http://issues.apache.org/bugzilla/show_bug.cgi?id=30569
 
Jacques
----- Original Message -----
Sent: Tuesday, June 13, 2006 9:49 PM
Subject: [OFBiz] Dev - Opentaps build error - Element type "subant" must bedeclared

 
I download the Opentaps 0.9.0 with no code modification and imported into Eclipse 3.1. I got 9 build errors out of the box. Most of them are related to subant. e.g. the first error is - Element type "subant" must be declared.
 
<target name="tests">
        <subant target="tests">
            <filelist refid="test-builds"/>
        </subant>
    </target>
 
Eclipse 3.1 comes with Ant 1.6.5, it should support "subant". Anyone knows why this is happening?



_______________________________________________
Dev mailing list
[hidden email]
<A onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target=_blank>http://lists.ofbiz.org/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
<A onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target=_blank>http://lists.ofbiz.org/mailman/listinfo/dev




_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Opentaps build error - Element type "subant" must bedeclared

Chuck22
In reply to this post by Si Chen-2
Hi Si
 
I have replaced JRE to JDK, this is how I make the "Ant run-install" work. Now, I have j2skd1.4.2_12 installed. But when I install Eclipse, I have only JRE. Then later I removed JRE. Is this the problem? Did Eclipse failed to pick up the newly installed JDK? 
 
Si, can you tell me which IDE you are using to develop Opentaps?
 
Thanks,
 
CB

 
On 6/14/06, Si Chen <[hidden email]> wrote:
I don't know about eclipse but this error seems to happen when people have used the JRE instead of the JDK.

 
Si

On Jun 14, 2006, at 7:21 AM, Chris Bai wrote:

Jacques
 
I can build using - Ant run-install - scripts under root folder. And I am able to run Opentaps 0.9.0. So I think the nested build.xml files are all fine in the project. I just can not build it within Eclipse 3.1. I got the following error while call "Run Ant" on C:\opentaps- 0.9.0\build.xml within Eclipse.
 
***************E R R O R    M S G***********************

BUILD FAILED
C:\opentaps-0.9.0\build.xml:151: The following error occurred while executing this line:
C:\opentaps-0.9.0\framework\webtools\build.xml:145: Execute failed: java.io.IOException: CreateProcess: jarsigner.exe -keystore C:\opentaps-0.9.0\base\config\ofbizssl.jks -storepass changeit -storetype jks -keypass changeit -sectionsonly C:\opentaps-0.9.0\framework\webtools\webapp\webtools\applet\ofbiz-webtools-print.jar ssl error=2

Total time: 34 seconds

Line 151 is the first line of the following code:

<subant inheritall="false">
            <filelist refid="framework-builds"/>
            <filelist refid="application-builds"/>
            <fileset dir="${basedir}/hot-deploy" casesensitive="no">
                <include name="**/build.xml"/>
            </fileset>
        </subant>

*******************************************************

Does anyone has Opentaps dev environment setup reference? 
 
CB

 
On 6/14/06, Jacques Le Roux <[hidden email]> wrote:
Perhaps have a look at this : <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=30569" target="_blank"> http://issues.apache.org/bugzilla/show_bug.cgi?id=30569
 
Jacques
----- Original Message -----
Sent: Tuesday, June 13, 2006 9:49 PM
Subject: [OFBiz] Dev - Opentaps build error - Element type "subant" must bedeclared

 
I download the Opentaps 0.9.0 with no code modification and imported into Eclipse 3.1. I got 9 build errors out of the box. Most of them are related to subant. e.g. the first error is - Element type "subant" must be declared.
 
<target name="tests">
        <subant target="tests">
            <filelist refid="test-builds"/>
        </subant>
    </target>
 
Eclipse 3.1 comes with Ant 1.6.5, it should support "subant". Anyone knows why this is happening?

 


 

_______________________________________________
Dev mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target="_blank">http://lists.ofbiz.org/mailman/listinfo/dev

 

 


_______________________________________________
Dev mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target="_blank">http://lists.ofbiz.org/mailman/listinfo/dev



 
_______________________________________________
Dev mailing list
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target="_blank">http://lists.ofbiz.org/mailman/listinfo/dev

 


_______________________________________________
Dev mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target="_blank"> http://lists.ofbiz.org/mailman/listinfo/dev



 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Opentaps build error - Element type "subant" must bedeclared

Si Chen-2
Somewhere in Eclipse preferences you can set the Java version.

I've used ecliipse a lot, and we event wrote this for it: http://www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php

Strangely though, these days I'm using mostly vi.

Si

On Jun 14, 2006, at 9:32 AM, Chris Bai wrote:

Hi Si
 
I have replaced JRE to JDK, this is how I make the "Ant run-install" work. Now, I have j2skd1.4.2_12 installed. But when I install Eclipse, I have only JRE. Then later I removed JRE. Is this the problem? Did Eclipse failed to pick up the newly installed JDK? 
 
Si, can you tell me which IDE you are using to develop Opentaps?
 
Thanks,
 
CB

 
On 6/14/06, Si Chen <[hidden email]> wrote:
I don't know about eclipse but this error seems to happen when people have used the JRE instead of the JDK.

 
Si

On Jun 14, 2006, at 7:21 AM, Chris Bai wrote:

Jacques
 
I can build using - Ant run-install - scripts under root folder. And I am able to run Opentaps 0.9.0. So I think the nested build.xml files are all fine in the project. I just can not build it within Eclipse 3.1. I got the following error while call "Run Ant" on C:\opentaps- 0.9.0\build.xml within Eclipse.
 
***************E R R O R    M S G***********************

BUILD FAILED
C:\opentaps-0.9.0\build.xml:151: The following error occurred while executing this line:
C:\opentaps-0.9.0\framework\webtools\build.xml:145: Execute failed: java.io.IOException: CreateProcess: jarsigner.exe -keystore C:\opentaps-0.9.0\base\config\ofbizssl.jks -storepass changeit -storetype jks -keypass changeit -sectionsonly C:\opentaps-0.9.0\framework\webtools\webapp\webtools\applet\ofbiz-webtools-print.jar ssl error=2

Total time: 34 seconds

Line 151 is the first line of the following code:

<subant inheritall="false">
            <filelist refid="framework-builds"/>
            <filelist refid="application-builds"/>
            <fileset dir="${basedir}/hot-deploy" casesensitive="no">
                <include name="**/build.xml"/>
            </fileset>
        </subant>

*******************************************************

Does anyone has Opentaps dev environment setup reference? 
 
CB

 
On 6/14/06, Jacques Le Roux <[hidden email]> wrote:
Perhaps have a look at this : <A onclick="return top.js.OpenExtLink(window,event,this)" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=30569" target="_blank"> http://issues.apache.org/bugzilla/show_bug.cgi?id=30569
 
Jacques
----- Original Message -----
Sent: Tuesday, June 13, 2006 9:49 PM
Subject: [OFBiz] Dev - Opentaps build error - Element type "subant" must bedeclared

 
I download the Opentaps 0.9.0 with no code modification and imported into Eclipse 3.1. I got 9 build errors out of the box. Most of them are related to subant. e.g. the first error is - Element type "subant" must be declared.
 
<target name="tests">
        <subant target="tests">
            <filelist refid="test-builds"/>
        </subant>
    </target>
 
Eclipse 3.1 comes with Ant 1.6.5, it should support "subant". Anyone knows why this is happening?

 


 

_______________________________________________
Dev mailing list
[hidden email]
<A onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target="_blank">http://lists.ofbiz.org/mailman/listinfo/dev

 

 


_______________________________________________
Dev mailing list
[hidden email]
<A onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target="_blank">http://lists.ofbiz.org/mailman/listinfo/dev



 
_______________________________________________
Dev mailing list
<A onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target="_blank">http://lists.ofbiz.org/mailman/listinfo/dev

 


_______________________________________________
Dev mailing list
[hidden email]
<A onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target="_blank"> http://lists.ofbiz.org/mailman/listinfo/dev



_______________________________________________
Dev mailing list


 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Opentaps build error - Element type 'subant' must bedeclared

Ian Gilbert-2
Likewise :)

I just need a ssh connection then and no specialised client software.  Lots of libraries available
for it as well.

It's a bit slow to develop with though and I've been trying to move to Eclipse when I can.

Ian


On Wed, June 14, 2006 17:38, Si Chen wrote:

> Somewhere in Eclipse preferences you can set the Java version.
>
>
> I've used ecliipse a lot, and we event wrote this for it: http://
> www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php
>
> Strangely though, these days I'm using mostly vi.
>
>
> Si
>
>
> On Jun 14, 2006, at 9:32 AM, Chris Bai wrote:
>
>
>> Hi Si
>>
>>
>> I have replaced JRE to JDK, this is how I make the "Ant run-
>> install" work. Now, I have j2skd1.4.2_12 installed. But when I install Eclipse, I have only JRE.
>> Then later I removed JRE. Is this
>> the problem? Did Eclipse failed to pick up the newly installed JDK?
>>
>> Si, can you tell me which IDE you are using to develop Opentaps?
>>
>>
>> Thanks,
>>
>>
>> CB
>>
>>
>>
>> On 6/14/06, Si Chen <[hidden email]> wrote:
>> I don't know about eclipse but this error seems to happen when
>> people have used the JRE instead of the JDK.
>>
>>
>> Si
>>
>>
>> On Jun 14, 2006, at 7:21 AM, Chris Bai wrote:
>>
>>
>>> Jacques
>>>
>>>
>>> I can build using - Ant run-install - scripts under root folder.
>>> And I am able to run Opentaps 0.9.0. So I think the nested
>>> build.xml files are all fine in the project. I just can not build it within Eclipse 3.1. I got
>>> the following error while call "Run Ant" on C:\opentaps- 0.9.0\build.xml within Eclipse.
>>>
>>>
>>> ***************E R R O R    M S G***********************
>>> BUILD FAILED
>>> C:\opentaps-0.9.0\build.xml:151: The following error occurred
>>> while executing this line: C:\opentaps-0.9.0\framework\webtools\build.xml:145: Execute
>>> failed: java.io.IOException: CreateProcess: jarsigner.exe -
>>> keystore C:\opentaps-0.9.0\base\config\ofbizssl.jks -storepass changeit -storetype jks -keypass
>>> changeit -sectionsonly C: \opentaps-0.9.0\framework\webtools\webapp\webtools\applet\ofbiz-
>>> webtools-print.jar ssl error=2
>>>
>>> Total time: 34 seconds
>>>
>>>
>>> Line 151 is the first line of the following code:
>>>
>>>
>>> <subant inheritall="false">
>>> <filelist refid="framework-builds"/>
>>> <filelist refid="application-builds"/>
>>> <fileset dir="${basedir}/hot-deploy" casesensitive="no">
>>> <include name="**/build.xml"/>
>>> </fileset>
>>> </subant>
>>>
>>>
>>> *******************************************************
>>>
>>>
>>> Does anyone has Opentaps dev environment setup reference?
>>>
>>>
>>> CB
>>>
>>>
>>>
>>> On 6/14/06, Jacques Le Roux <[hidden email] > wrote:
>>> Perhaps have a look at this : http://issues.apache.org/bugzilla/
>>> show_bug.cgi?id=30569
>>>
>>> Jacques
>>> ----- Original Message -----
>>> From: Chris Bai
>>> To: [hidden email]
>>> Sent: Tuesday, June 13, 2006 9:49 PM
>>> Subject: [OFBiz] Dev - Opentaps build error - Element type
>>> "subant" must bedeclared
>>>
>>>
>>>
>>> I download the Opentaps 0.9.0 with no code modification and
>>> imported into Eclipse 3.1. I got 9 build errors out of the box. Most of them are related to
>>> subant. e.g. the first error is - Element type "subant" must be declared.
>>>
>>>
>>> <target name="tests">
>>> <subant target="tests">
>>> <filelist refid="test-builds"/>
>>> </subant>
>>> </target>
>>>
>>>
>>> Eclipse 3.1 comes with Ant 1.6.5, it should support "subant".
>>> Anyone knows why this is happening?
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [hidden email]
>>> http://lists.ofbiz.org/mailman/listinfo/dev
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [hidden email]
>>> http://lists.ofbiz.org/mailman/listinfo/dev
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [hidden email]
>>> http://lists.ofbiz.org/mailman/listinfo/dev
>>>
>>
>>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [hidden email]
>> http://lists.ofbiz.org/mailman/listinfo/dev
>>
>>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [hidden email]
>> http://lists.ofbiz.org/mailman/listinfo/dev
>>
>
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev


--
Ian Gilbert
www.ethicalshopper.net
Fair trade: the alternative choice for your everyday shopping
0845 456 2429

WHAT DO YOU DRINK AT WORK?
We can supply your organisation with high quality fair trade tea and
coffee.  Discounts are available for regular orders.  Contact us for more
details.

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Opentaps build error - Element type 'subant' must bedeclared

Jacques Le Roux
Administrator
NetBeans 5.0 is worth a glance also... See
http://ofbizwiki.go-integral.com/Wiki.jsp?page=OFBizInNetBeans5.0

Jacques


----- Original Message -----
From: "Ian Gilbert" <[hidden email]>
To: "OFBiz Project Development Discussion" <[hidden email]>
Sent: Wednesday, June 14, 2006 8:14 PM
Subject: Re: [OFBiz] Dev - Opentaps build error - Element type 'subant' must
bedeclared


> Likewise :)
>
> I just need a ssh connection then and no specialised client software.  Lots of
libraries available
> for it as well.
>
> It's a bit slow to develop with though and I've been trying to move to Eclipse
when I can.

>
> Ian
>
>
> On Wed, June 14, 2006 17:38, Si Chen wrote:
> > Somewhere in Eclipse preferences you can set the Java version.
> >
> >
> > I've used ecliipse a lot, and we event wrote this for it: http://
> > www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php
> >
> > Strangely though, these days I'm using mostly vi.
> >
> >
> > Si
> >
> >
> > On Jun 14, 2006, at 9:32 AM, Chris Bai wrote:
> >
> >
> >> Hi Si
> >>
> >>
> >> I have replaced JRE to JDK, this is how I make the "Ant run-
> >> install" work. Now, I have j2skd1.4.2_12 installed. But when I install
Eclipse, I have only JRE.

> >> Then later I removed JRE. Is this
> >> the problem? Did Eclipse failed to pick up the newly installed JDK?
> >>
> >> Si, can you tell me which IDE you are using to develop Opentaps?
> >>
> >>
> >> Thanks,
> >>
> >>
> >> CB
> >>
> >>
> >>
> >> On 6/14/06, Si Chen <[hidden email]> wrote:
> >> I don't know about eclipse but this error seems to happen when
> >> people have used the JRE instead of the JDK.
> >>
> >>
> >> Si
> >>
> >>
> >> On Jun 14, 2006, at 7:21 AM, Chris Bai wrote:
> >>
> >>
> >>> Jacques
> >>>
> >>>
> >>> I can build using - Ant run-install - scripts under root folder.
> >>> And I am able to run Opentaps 0.9.0. So I think the nested
> >>> build.xml files are all fine in the project. I just can not build it
within Eclipse 3.1. I got
> >>> the following error while call "Run Ant" on C:\opentaps- 0.9.0\build.xml
within Eclipse.
> >>>
> >>>
> >>> ***************E R R O R    M S G***********************
> >>> BUILD FAILED
> >>> C:\opentaps-0.9.0\build.xml:151: The following error occurred
> >>> while executing this line:
C:\opentaps-0.9.0\framework\webtools\build.xml:145: Execute
> >>> failed: java.io.IOException: CreateProcess: jarsigner.exe -
> >>> keystore C:\opentaps-0.9.0\base\config\ofbizssl.jks -storepass
changeit -storetype jks -keypass
> >>> changeit -sectionsonly C:
\opentaps-0.9.0\framework\webtools\webapp\webtools\applet\ofbiz-

> >>> webtools-print.jar ssl error=2
> >>>
> >>> Total time: 34 seconds
> >>>
> >>>
> >>> Line 151 is the first line of the following code:
> >>>
> >>>
> >>> <subant inheritall="false">
> >>> <filelist refid="framework-builds"/>
> >>> <filelist refid="application-builds"/>
> >>> <fileset dir="${basedir}/hot-deploy" casesensitive="no">
> >>> <include name="**/build.xml"/>
> >>> </fileset>
> >>> </subant>
> >>>
> >>>
> >>> *******************************************************
> >>>
> >>>
> >>> Does anyone has Opentaps dev environment setup reference?
> >>>
> >>>
> >>> CB
> >>>
> >>>
> >>>
> >>> On 6/14/06, Jacques Le Roux <[hidden email] > wrote:
> >>> Perhaps have a look at this : http://issues.apache.org/bugzilla/
> >>> show_bug.cgi?id=30569
> >>>
> >>> Jacques
> >>> ----- Original Message -----
> >>> From: Chris Bai
> >>> To: [hidden email]
> >>> Sent: Tuesday, June 13, 2006 9:49 PM
> >>> Subject: [OFBiz] Dev - Opentaps build error - Element type
> >>> "subant" must bedeclared
> >>>
> >>>
> >>>
> >>> I download the Opentaps 0.9.0 with no code modification and
> >>> imported into Eclipse 3.1. I got 9 build errors out of the box. Most of
them are related to

> >>> subant. e.g. the first error is - Element type "subant" must be declared.
> >>>
> >>>
> >>> <target name="tests">
> >>> <subant target="tests">
> >>> <filelist refid="test-builds"/>
> >>> </subant>
> >>> </target>
> >>>
> >>>
> >>> Eclipse 3.1 comes with Ant 1.6.5, it should support "subant".
> >>> Anyone knows why this is happening?
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Dev mailing list
> >>> [hidden email]
> >>> http://lists.ofbiz.org/mailman/listinfo/dev
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Dev mailing list
> >>> [hidden email]
> >>> http://lists.ofbiz.org/mailman/listinfo/dev
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Dev mailing list
> >>> [hidden email]
> >>> http://lists.ofbiz.org/mailman/listinfo/dev
> >>>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Dev mailing list
> >> [hidden email]
> >> http://lists.ofbiz.org/mailman/listinfo/dev
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Dev mailing list
> >> [hidden email]
> >> http://lists.ofbiz.org/mailman/listinfo/dev
> >>
> >
> >
> > _______________________________________________
> > Dev mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/dev
>
>
> --
> Ian Gilbert
> www.ethicalshopper.net
> Fair trade: the alternative choice for your everyday shopping
> 0845 456 2429
>
> WHAT DO YOU DRINK AT WORK?
> We can supply your organisation with high quality fair trade tea and
> coffee.  Discounts are available for regular orders.  Contact us for more
> details.
>
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
>

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Opentaps build error - Element type 'subant' must bedeclared

Chuck22
In reply to this post by Ian Gilbert-2
Hi Si
 
I followed your Eclipse setup instruction. Excellent document. Thank you.
 
I cleaned up my Eclipse a bit with all java setting set to the right version of Java. The build error in my my last email goes agway (as it is caused by the linking of already removed JRE in the Opentaps). But the "subant" error appear again on a clean & build. It complains that Element type "subant" must be declared on line 116:
 
<target name="tests">
        <subant target="tests">
            <filelist refid="test-builds"/>
        </subant>
    </target>
This sounds like an Ant plugin issue, not related to Java version. But strangely, outside Ant build works fine. I want to debug Opentaps with Eclipse but the 9 build errors found blocked my way. So frustrated!! Please help.
 
--
CB
 
On 6/14/06, Ian Gilbert <[hidden email]> wrote:
Likewise :)

I just need a ssh connection then and no specialised client software.  Lots of libraries available
for it as well.

It's a bit slow to develop with though and I've been trying to move to Eclipse when I can.

Ian


On Wed, June 14, 2006 17:38, Si Chen wrote:

> Somewhere in Eclipse preferences you can set the Java version.
>
>
> I've used ecliipse a lot, and we event wrote this for it: http://
> www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php
>
> Strangely though, these days I'm using mostly vi.
>
>
> Si
>
>
> On Jun 14, 2006, at 9:32 AM, Chris Bai wrote:
>
>
>> Hi Si
>>
>>
>> I have replaced JRE to JDK, this is how I make the "Ant run-
>> install" work. Now, I have j2skd1.4.2_12 installed. But when I install Eclipse, I have only JRE.
>> Then later I removed JRE. Is this
>> the problem? Did Eclipse failed to pick up the newly installed JDK?
>>
>> Si, can you tell me which IDE you are using to develop Opentaps?
>>
>>
>> Thanks,
>>
>>
>> CB
>>
>>
>>
>> On 6/14/06, Si Chen <[hidden email]> wrote:
>> I don't know about eclipse but this error seems to happen when
>> people have used the JRE instead of the JDK.
>>
>>
>> Si
>>
>>
>> On Jun 14, 2006, at 7:21 AM, Chris Bai wrote:
>>
>>
>>> Jacques
>>>
>>>
>>> I can build using - Ant run-install - scripts under root folder.
>>> And I am able to run Opentaps 0.9.0. So I think the nested
>>> build.xml files are all fine in the project. I just can not build it within Eclipse 3.1. I got
>>> the following error while call "Run Ant" on C:\opentaps- 0.9.0\build.xml within Eclipse.
>>>
>>>
>>> ***************E R R O R    M S G***********************
>>> BUILD FAILED
>>> C:\opentaps-0.9.0\build.xml:151: The following error occurred
>>> while executing this line: C:\opentaps-0.9.0\framework\webtools\build.xml:145: Execute
>>> failed: java.io.IOException: CreateProcess: jarsigner.exe -
>>> keystore C:\opentaps-0.9.0\base\config\ofbizssl.jks -storepass changeit -storetype jks -keypass
>>> changeit -sectionsonly C: \opentaps-0.9.0\framework\webtools\webapp\webtools\applet\ofbiz-
>>> webtools-print.jar ssl error=2
>>>
>>> Total time: 34 seconds
>>>
>>>
>>> Line 151 is the first line of the following code:
>>>
>>>
>>> <subant inheritall="false">
>>> <filelist refid="framework-builds"/>
>>> <filelist refid="application-builds"/>
>>> <fileset dir="${basedir}/hot-deploy" casesensitive="no">
>>> <include name="**/build.xml"/>
>>> </fileset>
>>> </subant>
>>>
>>>
>>> *******************************************************
>>>
>>>
>>> Does anyone has Opentaps dev environment setup reference?
>>>
>>>
>>> CB
>>>
>>>
>>>
>>> On 6/14/06, Jacques Le Roux < [hidden email] > wrote:
>>> Perhaps have a look at this : http://issues.apache.org/bugzilla/
>>> show_bug.cgi?id=30569

>>>
>>> Jacques
>>> ----- Original Message -----
>>> From: Chris Bai
>>> To: [hidden email]
>>> Sent: Tuesday, June 13, 2006 9:49 PM
>>> Subject: [OFBiz] Dev - Opentaps build error - Element type
>>> "subant" must bedeclared
>>>
>>>
>>>
>>> I download the Opentaps 0.9.0 with no code modification and
>>> imported into Eclipse 3.1. I got 9 build errors out of the box. Most of them are related to
>>> subant. e.g. the first error is - Element type "subant" must be declared.
>>>
>>>
>>> <target name="tests">
>>> <subant target="tests">
>>> <filelist refid="test-builds"/>
>>> </subant>
>>> </target>
>>>
>>>
>>> Eclipse 3.1 comes with Ant 1.6.5, it should support "subant".
>>> Anyone knows why this is happening?
>>>
>>>

>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [hidden email]
>>> http://lists.ofbiz.org/mailman/listinfo/dev
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [hidden email]
>>> http://lists.ofbiz.org/mailman/listinfo/dev
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [hidden email]
>>> http://lists.ofbiz.org/mailman/listinfo/dev
>>>
>>
>>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [hidden email]
>> http://lists.ofbiz.org/mailman/listinfo/dev
>>
>>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [hidden email]
>> http://lists.ofbiz.org/mailman/listinfo/dev
>>
>
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev


--
Ian Gilbert
www.ethicalshopper.net
Fair trade: the alternative choice for your everyday shopping
0845 456 2429

WHAT DO YOU DRINK AT WORK?
We can supply your organisation with high quality fair trade tea and
coffee.  Discounts are available for regular orders.  Contact us for more
details.


_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev


 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev