Re: [Joe-task-developer] RE: RE: JOE's output customization
Status: Pre-Alpha
Brought to you by:
jjjoooeee
|
From: Alex <ax...@m-...> - 2002-11-04 03:08:30
|
I updated my sources from CVS but the /engine directory is empty. JavaOptimizationEngine.java fails to compile. On Thu, 24 Oct 2002, Lo=EFc Lef=E8vre wrote: > > I am not sure how to develop the XXXCodeWriter classes > and how to test? > > Okay, so I'll commit some modifications to the build.xml > file and to the JavaOptimizationEngine so it will support > the 'codestyle' attribute (in the build.xml file) and so > JBoss and Sun will ba available :) > > To test it, set codestyle=3D'JBoss' for you Alex and > codestyle=3D'Sun' for you Sunish ;) > > Then run the command 'ant' in the joe directory. > It'll compile all the java sources and run the code style > formating on the joe/thirdparty/joetests/*.java files. > Then, check the joe/output sub-directories, open the java > files and check if yes or no the files respect the coding > conventions :) (simple isn't it?) > > > Should I just copy the AvalonCodeWriter class and change > according to > > http://www.jboss.org/developers/guides/codestyle.jsp > > Well, You don't need to copy the AvalonCodeWriter and to > modify the copy, just extends the AvalonCodeWriter: > > ... > public class JBossCodeWriter extends AvalonCodeWriter > implements... > ... > > This will allow the JBossCodeWriter to use *ALL* the > methods of the super class (AvalonCodeWriter). > > Then, if an Avalon method don't respect the coding > conventions of JBoss, then overrides it, that is to say, > rewrite the complete method in the JBossCodeWriter class, > is it understandable or do you want a little example? > > Moreover, the three codestyle conventions can't (for now be > fully respected) at least, try to respect the indentation > and the place of the '{' and '}' brackets :) > that's to say: at the end of the line for { or on a new > line... > > Cheers, > Lo=EFc > > > > > On Thu, 24 Oct 2002 loic.lefevre@bn... wrote: > > > > > Hello, > > > Sunish and Alex, can you tell me you are for > > > this task: > > > > > http://sourceforge.net/pm/task.php? > func=3Ddetailtask&project_task_id=3D64243&group_id=3D64337&group_p > roject_id=3D23746 > > > What problem do you encounter... > > > How to develop the XXXCodeWriter classes, how to test... > > > > > > Thanks in advance, > > > Lo=EFc > > _________________________________________________________ > Gagne une PS2 ! Envoie un SMS avec le code PS au 61166 > (0,35=80 Hors co=FBt du SMS) > > |