Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008346Openbravo ERPA. Platformpublic2009-03-30 15:432011-07-05 13:23
alostale 
shuehner 
normalminoralways
closedfixed 
5
 
3.0MP03.0RC7 
Core
No
0008346: Remove srcClient support
Remove srcClient support since it shouldn't be used anymore, customizations should be managed as modules (in most cases) and when it is not possible directly in src.
No tags attached.
has duplicate defect 0010573 closed shuehner Remove look for srcClient folder on WAD compilation 
related to defect 00171153.0RC7 closed shuehner I cannot login into the ERP. js route is not valid 
blocks feature request 0007236 acknowledged shuehner Tracking issue: Cleanup for 3.00 
Issue History
2009-03-30 15:43alostaleNew Issue
2009-03-30 15:43alostaleAssigned To => shuehner
2009-03-30 15:43alostaleRegression testing => No
2009-03-30 15:43alostaleRelationship addedblocks 0007236
2011-05-10 15:34shuehnerRelationship addedrelated to 0010573
2011-05-10 16:52shuehnerRelationship replacedhas duplicate 0010573
2011-05-10 17:08hgbotCheckin
2011-05-10 17:08hgbotNote Added: 0036640
2011-05-10 17:08hgbotStatusnew => resolved
2011-05-10 17:08hgbotResolutionopen => fixed
2011-05-10 17:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3f4efabf301913c820081e9952cff6384594928d [^]
2011-05-11 11:50shuehnerRelationship addedrelated to 0017115
2011-05-12 13:31hudsonbotCheckin
2011-05-12 13:31hudsonbotNote Added: 0036876
2011-05-13 09:05alostaleStatusresolved => closed
2011-05-13 09:05alostaleFixed in Version => 3.0RC7
2011-07-05 13:12neil_smithNote Added: 0038776
2011-07-05 13:23shuehnerNote Added: 0038777

Notes
(0036640)
hgbot   
2011-05-10 17:08   
Repository: erp/devel/pi
Changeset: 3f4efabf301913c820081e9952cff6384594928d
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Tue May 10 17:08:16 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3f4efabf301913c820081e9952cff6384594928d [^]

Fixed 8346: Remove support for srcClient
srcClient has been obsoleted with start of 2.50 where customizations should be
done via modules but still carried arround for the 2.50 cycle to ease slow
migrations of people using now. Now for 3.0 its time to remove it.

---
M build.xml
M src-wad/src/org/openbravo/wad/Wad.java
M src-wad/src/org/openbravo/wad/web.xml
M src-wad/src/org/openbravo/wad/webConf.xml
M src/build.xml
---
(0036876)
hudsonbot   
2011-05-12 13:31   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c40e579fcd38 [^]

Maturity status: Test
(0038776)
neil_smith   
2011-07-05 13:12   
Hello,
I have a little problem with the removal of the srcClient support...
I have a module that uses an external graphical library, and I need to make changes to the web.xml to add a listener, a servlets and the servlet mappings.
Where can I do those changes now? Do I have to directly do the changes in the web.xml that is in src-wad?
Thanks for your time and your response as this is quite urgent, this is a bloking problem for me.
Neil.
(0038777)
shuehner   
2011-07-05 13:23   
Hi Neil,
then you are lucky that i still get mail notifications for closed bugs ;)
Better to ask in the developers forums next time.

For your issue:
Just go the official way.. The web.xml entries are generated based on content of ad_model_object (for classes) + ad_model_object_mapping (for url-mappings).

Most are auto-generated but manual ones are also used. Normal servlet -> register as ad_form with your mapping as normal.
Listeners register in ad_model_object directly (i think the window is 'ad implementation mapping' (Object type: listener).

Do all of those changes in your normal module which contains the java code -> all fine no hacks like srcClient needed).