Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006373Openbravo ERPZ. Otherspublic2008-12-04 21:552009-04-21 11:07
gorka_gil 
mtaal 
normalmajorhave not tried
closedfixed 
20rPath Linux
2.50alpha-r3 
 
Core
No
0006373: beautifier error in generate.entities
when executing generate.entities
appears a lot of errors of beautifier class:

 [workflow] 1257 [main] ERROR org.hybridlabs.source.beautifier.JavaImportBeautifierImpl - Error during beautification. Content:
 [workflow] /*
 [workflow] *************************************************************************
 [workflow] * The contents of this file are subject to the Openbravo Public License
 [workflow] * Vers...
ant generate.entities
there is a workaround, disable code beautifer:

in src/org/openbravo/base/gen/gen_entity.oaw
in line 34 and 35 replace :

   <beautifier class="org.hybridlabs.source.formatter.JavaImportBeautifier"
         organizeImports="true" format="true"/>

with:
             
   <!-- <beautifier class="org.hybridlabs.source.formatter.JavaImportBeautifier"
         organizeImports="true" format="true"/> -->
No tags attached.
depends on backport 0006374 closed gorka_gil beautifier error in generate.entities 
Issue History
2008-12-04 21:55gorka_gilNew Issue
2008-12-04 21:55gorka_gilAssigned To => mtaal
2008-12-04 21:55gorka_gilsf_bug_id0 => 2390636
2008-12-04 21:55gorka_gilRegression testing => No
2008-12-04 21:56gorka_gilStatusnew => scheduled
2008-12-04 21:56gorka_gilAssigned Tomtaal => gorka_gil
2008-12-04 21:56gorka_gilfix_in_branch => trunk
2008-12-04 21:57gorka_gilAssigned Togorka_gil => mtaal
2008-12-17 22:43svnbotCheckin
2008-12-17 22:43svnbotNote Added: 0011504
2008-12-17 22:43svnbotStatusscheduled => resolved
2008-12-17 22:43svnbotResolutionopen => fixed
2008-12-17 22:43svnbotsvn_revision => 11330
2009-04-21 11:07psarobeStatusresolved => closed

Notes
(0011504)
svnbot   
2008-12-17 22:43   
Repository: openbravo
Revision: 11330
Author: mtaal
Date: 2008-12-17 22:43:47 +0100 (Wed, 17 Dec 2008)

Fixes issue 6373, generate.entities failed because beautifier created .jalopy directory in home directory of the user running generate.entities

---
A trunk/src/org/openbravo/base/gen/OBJavaBeautifier.java
U trunk/src/org/openbravo/base/gen/gen_entity.oaw
---

https://dev.openbravo.com/websvn/openbravo/?rev=11330&sc=1 [^]