red1.org Forum Index red1.org
Nihili est - in vita priore ego imperator romanus fui
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problme compiling sources from CVs server

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    red1.org Forum Index -> International US Trading
View previous topic :: View next topic  
Author Message
trifon
Senior


Joined: 23 Dec 2004
Posts: 324
Location: Bulgaria, Sofia

PostPosted: Tue Jan 31, 2006 5:34 pm    Post subject: Problme compiling sources from CVs server Reply with quote

Hi Red1,

today i get all sources from /university/C-252d
when i tryied to compile them i get many errors.

I will beck tomorrow after 18:00 pm my time.

Regards,
Trifon

Severity Description Resource In Folder Location Creation Time
2 The method getLine() is undefined for the type MBOLLine MBOLLine.java C-252d/base/src/org/compiere/model line 60 31 January 2006 09:51:04
2 The method setLine(int) is undefined for the type MBOLLine MBOLLine.java C-252d/base/src/org/compiere/model line 64 31 January 2006 09:51:04
2 X_C_BOL_Pack cannot be resolved to a type MBOLPack.java C-252d/base/src/org/compiere/model line 17 31 January 2006 09:51:04
2 The constructor Object(Properties, int, String) is undefined MBOLPack.java C-252d/base/src/org/compiere/model line 26 31 January 2006 09:51:04
2 The method setC_BOL_ID(int) is undefined for the type MBOLPack MBOLPack.java C-252d/base/src/org/compiere/model line 44 31 January 2006 09:51:04
2 The method setClientOrg(int, int) in the type MBOLPack is not applicable for the arguments (MBOL) MBOLPack.java C-252d/base/src/org/compiere/model line 45 31 January 2006 09:51:04
2 The constructor Object(Properties, ResultSet, String) is undefined MBOLPack.java C-252d/base/src/org/compiere/model line 55 31 January 2006 09:51:04
2 The method setClientOrg(int, int) is undefined for the type Object MBOLPack.java C-252d/base/src/org/compiere/model line 59 31 January 2006 09:51:04
2 X_C_PackCode cannot be resolved to a type MPackCode.java C-252d/base/src/org/compiere/model line 17 31 January 2006 09:50:59
2 The constructor Object(Properties, int, String) is undefined MPackCode.java C-252d/base/src/org/compiere/model line 26 31 January 2006 09:50:59
2 The method setClientOrg(int, int) in the type MPackCode is not applicable for the arguments (MBOL) MPackCode.java C-252d/base/src/org/compiere/model line 45 31 January 2006 09:50:59
2 The constructor Object(Properties, ResultSet, String) is undefined MPackCode.java C-252d/base/src/org/compiere/model line 55 31 January 2006 09:50:59
2 The method setClientOrg(int, int) is undefined for the type Object MPackCode.java C-252d/base/src/org/compiere/model line 59 31 January 2006 09:50:59
2 The method getPACKC() is undefined for the type MPackCode BOL_Generate.java C-252d/base/src/org/compiere/process line 139 31 January 2006 09:50:56
2 The method setC_BOL_ID(int) is undefined for the type MBOLPack BOL_Generate.java C-252d/base/src/org/compiere/process line 183 31 January 2006 09:50:56
2 The method setTotalQty(BigDecimal) is undefined for the type MBOLPack BOL_Generate.java C-252d/base/src/org/compiere/process line 184 31 January 2006 09:50:56
2 The method setTotWeight(BigDecimal) is undefined for the type MBOLPack BOL_Generate.java C-252d/base/src/org/compiere/process line 185 31 January 2006 09:50:56
2 The method setPACKC(String) is undefined for the type MBOLPack BOL_Generate.java C-252d/base/src/org/compiere/process line 186 31 January 2006 09:50:56
2 The method save() is undefined for the type MBOLPack BOL_Generate.java C-252d/base/src/org/compiere/process line 187 31 January 2006 09:50:56
2 The method getBOLNO() is undefined for the type MOrder BOL_Generate.java C-252d/base/src/org/compiere/process line 221 31 January 2006 09:50:56
2 The method getBOLNO() is undefined for the type MOrder BOL_Generate.java C-252d/base/src/org/compiere/process line 232 31 January 2006 09:50:56
2 The method getBOLNO() is undefined for the type MOrder BOL_Generate.java C-252d/base/src/org/compiere/process line 235 31 January 2006 09:50:56
2 The method getBOLComment() is undefined for the type MBPartnerLocation BOL_Generate.java C-252d/base/src/org/compiere/process line 236 31 January 2006 09:50:56
2 The method setDocumentNo(String) is undefined for the type MBOL BOL_Generate.java C-252d/base/src/org/compiere/process line 237 31 January 2006 09:50:56
2 The method setC_BPartner_ID(int) is undefined for the type MBOL BOL_Generate.java C-252d/base/src/org/compiere/process line 238 31 January 2006 09:50:56
2 The method setFreightCostRule(String) is undefined for the type MBOL BOL_Generate.java C-252d/base/src/org/compiere/process line 239 31 January 2006 09:50:56
2 The method setC_BPartner_Location_ID(int) is undefined for the type MBOL BOL_Generate.java C-252d/base/src/org/compiere/process line 240 31 January 2006 09:50:56
2 The method setC_Location_ID(String) is undefined for the type MBOL BOL_Generate.java C-252d/base/src/org/compiere/process line 241 31 January 2006 09:50:56
2 The method setM_Shipper_ID(int) is undefined for the type MBOL BOL_Generate.java C-252d/base/src/org/compiere/process line 242 31 January 2006 09:50:56
2 The method setC_BOL_ID(int) is undefined for the type MOrder BOL_Generate.java C-252d/base/src/org/compiere/process line 245 31 January 2006 09:50:56
2 The method setC_OrderLine_ID(int) is undefined for the type MBOLLine BOL_Generate.java C-252d/base/src/org/compiere/process line 261 31 January 2006 09:50:56
2 The method setM_Product_ID(int) is undefined for the type MBOLLine BOL_Generate.java C-252d/base/src/org/compiere/process line 262 31 January 2006 09:50:56
2 The method setWeight(BigDecimal) is undefined for the type MBOLLine BOL_Generate.java C-252d/base/src/org/compiere/process line 264 31 January 2006 09:50:56
2 The method setPACKC(String) is undefined for the type MBOLLine BOL_Generate.java C-252d/base/src/org/compiere/process line 265 31 January 2006 09:50:56
2 The method setWHSLC(String) is undefined for the type MBOLLine BOL_Generate.java C-252d/base/src/org/compiere/process line 266 31 January 2006 09:50:56
2 The method setQuantity(BigDecimal) is undefined for the type MBOLLine BOL_Generate.java C-252d/base/src/org/compiere/process line 267 31 January 2006 09:50:56
2 The method getBOLComment() is undefined for the type MBPartnerLocation ImportBPartnerBOLComment.java C-252d/base/src/org/compiere/process line 192 31 January 2006 09:50:55
_________________
Trifon Trifonov
Back to top
View user's profile Send private message Yahoo Messenger
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Wed Feb 01, 2006 7:45 am    Post subject: Reply with quote

Trifon,
I take note of the files mentioned here. I will check and post them again.
(there seems to be root protocol error in SF CVS. Do u know why? I will try later)

regards and thanks
Back to top
View user's profile Send private message Send e-mail Visit poster's website
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Thu Feb 02, 2006 12:12 am    Post subject: Reply with quote

i managed to get to CVS, and it didnt complain of any gaps. So pls force update those java files that is stated in error. Or checkout directly those files from base.src.org.compiere.model.MBOL**
Back to top
View user's profile Send private message Send e-mail Visit poster's website
trifon
Senior


Joined: 23 Dec 2004
Posts: 324
Location: Bulgaria, Sofia

PostPosted: Thu Feb 02, 2006 7:05 am    Post subject: Reply with quote

Hi Red1,

I can't find this files:
X_C_BOL_Pack
X_C_PackCode

I updated my CVs but still this files are missing.

Regards,
Trifon
_________________
Trifon Trifonov
Back to top
View user's profile Send private message Yahoo Messenger
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Thu Feb 02, 2006 8:52 am    Post subject: Reply with quote

i do not post X_ Generated Model files as the table ids will be different to your DB.

But i posted those two u mentioned just to let u see.

In previous posts i must have given the druid table structures or create sqls. Pls look for them.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
riche
Senior


Joined: 16 Dec 2004
Posts: 386

PostPosted: Thu Feb 09, 2006 5:48 am    Post subject: Reply with quote

I now get errors when I try to build updated source from CVS. The errors start with:
Severity Description Resource In Folder Location Creation Time Id
2 The declared package does not match the expected package org.compiere modelX_A_Asset_Delivery.java C-252d/dbPort/src/org/compiere line 2 February 8, 2006 1:22:51 PM 196102
2 PO cannot be resolved to a type modelX_A_Asset_Delivery.java C-252d/dbPort/src/org/compiere line 10 February 8, 2006 1:22:51 PM 196104
2 The public type X_A_Asset_Delivery must be defined in its own file modelX_A_Asset_Delivery.java C-252d/dbPort/src/org/compiere line 10 February 8, 2006 1:22:51 PM 196103
2 The constructor Object(Properties, int, String) is undefined modelX_A_Asset_Delivery.java C-252d/dbPort/src/org/compiere line 15 February 8, 2006 1:22:51 PM 196105


Any ideas?

-Rich
Back to top
View user's profile Send private message
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Thu Feb 09, 2006 9:49 am    Post subject: Reply with quote

I m trying to flow thru some posibilities here.

1) Have u done GenerateModel first before compile?

2) It seems to complain about X_ files which are result of above.
Note that i do not send over X_files cos they are instance dependant, remember that it hardcode table_id occurences of your instance instead of mine. The idea is to leave u to run GM each time.

3) To complain about package disorders can be something else. Reading your error line, it says C-252d/dbPort/src/org/compiere line 2 and noticing that the last extension is missing /model may mean that u may have run GM with wrong package target i.e. it shuld have that final extension.
U check that by looking into the source and see under package org.compiere if an X_file has ended up wrongly there.
(I replicated your error by copying exactly that file into the src.org.compiere folder, thus i m pretty sure this is the case). If u dont find it wrongly there, it may be so in other folders (do a search in Eclipse for that X_Asset_Delivery.java file. Remove them as they are only suppose to be in only the target folder path stated below.

If u find the whole neburhud of X-files ending up in wrong target folders, instead of dbPort/src/org/compiere/model (like i said above about) your target been wrong in the argument of your GM execution. Read back howto run GM and see that this argument is correctly stated. Here is a guide http://red1.org/forum/viewtopic.php?t=391
Back to top
View user's profile Send private message Send e-mail Visit poster's website
riche
Senior


Joined: 16 Dec 2004
Posts: 386

PostPosted: Thu Feb 09, 2006 10:29 am    Post subject: Reply with quote

red1 wrote:
I m trying to flow thru some posibilities here.

1) Have u done GenerateModel first before compile?

Yes, I did. Many times. I even erased the workspace and re-installed from CVS and still got same error after re-runing GenerateModel

red1 wrote:

3) To complain about package disorders can be something else. Reading your error line, it says C-252d/dbPort/src/org/compiere line 2 and noticing that the last extension is missing /model may mean that u may have run GM with wrong package target i.e. it shuld have that final extension.
U check that by looking into the source and see under package org.compiere if an X_file has ended up wrongly there.
(I replicated your error by copying exactly that file into the src.org.compiere folder, thus i m pretty sure this is the case). If u dont find it wrongly there, it may be so in other folders (do a search in Eclipse for that X_Asset_Delivery.java file. Remove them as they are only suppose to be in only the target folder path stated below.

If u find the whole neburhud of X-files ending up in wrong target folders, instead of dbPort/src/org/compiere/model (like i said above about) your target been wrong in the argument of your GM execution. Read back howto run GM and see that this argument is correctly stated. Here is a guide http://red1.org/forum/viewtopic.php?t=391

I will have to try this because I also thought that was a strange, but I replicated the error again so I thought it's a problem with the source and I didn't know where to look.

-Rich
Back to top
View user's profile Send private message
riche
Senior


Joined: 16 Dec 2004
Posts: 386

PostPosted: Thu Feb 09, 2006 11:47 am    Post subject: Reply with quote

I think I accidently erases a '\' from the end for the directory path so all the files were named model* in org\compiere.

Thanks,
Rich
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    red1.org Forum Index -> International US Trading All times are GMT + 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group