Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007886Openbravo ERP01. General setuppublic2009-03-01 12:142009-03-18 11:03
MariamSalah 
AinhoaPagola 
normalmajoralways
closedno change required 
10XP
2.50alpha-r11 
 
No
Core
No
0007886: issues in ant tasks
I am following the instructions of [1] to install Openbravo 250-alphar11 using Eclipse IDE.
 
When setting the ant tasks that i might need (I dragged the build.xml file to the Ant tab). I found out that there are some ant tasks have the warning sign with some missing classes error.
for example when i click on eclipse.install.source, i have an error shown saying "taskdef class org.openbravo.erpCommon.modules.ApplyModuleTask cannot be found". I checked the source code i checked out and i found that class!!
same goes for install.source, package.module, db.apply.modules and db.apply.modules.sampledata but for different missing classes!

[1] http://wiki.openbravo.com/wiki/Installation_and_setup_of_Eclipse_IDE [^]
follow the steps in [1]

[1] http://wiki.openbravo.com/wiki/Installation_and_setup_of_Eclipse_IDE [^]
No tags attached.
related to defect 0007571 closed alostale eclipse.install.source does not work 
blocks defect 0009707 closed iperdomo The eclipse.install.source does not work 
Issue History
2009-03-01 12:14MariamSalahNew Issue
2009-03-01 12:14MariamSalahAssigned To => rafaroda
2009-03-02 09:39AinhoaPagolaNote Added: 0014201
2009-03-02 09:46AinhoaPagolaIssue Monitored: AinhoaPagola
2009-03-02 09:51MariamSalahNote Added: 0014208
2009-03-02 10:04AinhoaPagolaNote Added: 0014209
2009-03-02 10:47MariamSalahNote Added: 0014211
2009-03-02 10:58AinhoaPagolaNote Added: 0014212
2009-03-02 11:18MariamSalahNote Added: 0014214
2009-03-03 13:37rafarodaRelationship addedrelated to 0007571
2009-03-03 13:38rafarodaNote Added: 0014310
2009-03-03 13:38rafarodaAssigned Torafaroda => AinhoaPagola
2009-03-03 13:38rafarodaStatusnew => feedback
2009-03-03 14:07MariamSalahNote Added: 0014312
2009-03-03 16:05AinhoaPagolaRegression testing => No
2009-03-03 16:05AinhoaPagolaStatusfeedback => closed
2009-03-03 16:05AinhoaPagolaResolutionopen => no change required
2009-03-03 16:07AinhoaPagolaNote Added: 0014325
2009-03-18 11:03anonymoussf_bug_id0 => 2691453
2009-06-29 16:20networkbRelationship addedblocks 0009707

Notes
(0014201)
AinhoaPagola   
2009-03-02 09:39   
Hello Mariam,

I had a similar problem and turned out to be that my ant home variable was not correct. Have you checked if your Ant home is correct?
You can check it at: Window -> Preferences: Ant -> Runtime. Click button Ant Home.

Regards,

Ainhoa Pagola
(0014208)
MariamSalah   
2009-03-02 09:51   
Hi Ainhoa,

What folder should i use to be the location of my ANT_HOME? When i clicked the Ant Home button, I found that my ant home folder is set to my workspace main folder? should i change that?

Thanks,
Mariam
(0014209)
AinhoaPagola   
2009-03-02 10:04   
Hello Mariam,

It should be pointing to: your-eclipse-> plugins -> org.apache.ant_1.7.0.... folder.
(0014211)
MariamSalah   
2009-03-02 10:47   
Hello Ainhoa,

I have modified my ant home, re-build the project and re-dragged the build.xml file to ant tab.
I still have the same issues. However, i guess i might need to install the whole project again to reflect the changes (Like what happens when i change the JDK, or the compiler level. It never feels the changes until i re-install everything).
I'll try that later and let you know.

Many thanks,
Mariam
(0014212)
AinhoaPagola   
2009-03-02 10:58   
How you tried exiting eclipse workspace and opening it again?
(0014214)
MariamSalah   
2009-03-02 11:18   
I'm not sure what you mean by the question!
However, yes, i exited Eclipse and re-opened it.
(0014310)
rafaroda   
2009-03-03 13:38   
Hi Mariam,

Could you please apply this patch for issue 7571 [1] to your build.xml file and run eclipse.install.source to see if it works.

Thanks.

[1] https://dev.openbravo.com/websvn/openbravo/?op=comp&compare[]=%2F@13556&compare[]=%2F@13557 [^]
(0014312)
MariamSalah   
2009-03-03 14:07   
Hi Rafa,

I have tested that already!

It seems the ant issues do not exist any more.

Let me know if you need me to test anything else,

Thanks,
Mariam
(0014325)
AinhoaPagola   
2009-03-03 16:07   
Hello Mariam,

I am closing the issue since you say is not there anymore.

Thanks,

Ainhoa.