Jostraca is Sponsored By:






 
    The Jostraca Code Generator

  Notes
 
No. Submit Date Owner S P Description Closed Date
2 2000-02-29 Richard O 2 writerformat.g needs cleanup 20030216: this is part of the conversion to new processing architecture
4 2000-03-29 Richard O 1 help description should be in standard man format
6 2000-04-06 Richard O 1 Missing semi colons at the end of statements: <% int x = blah() %> will cause problems - find an intelligent way to deal with this... note: also a problem for <%=blob;%> !!! intelligent error msg?
7 2000-04-20 Richard O 1 need to restructure Service and handling of writer formats: allow writer formats to contain a conf section this writer format conf section has the lowest priority of all but can be used to set lang.InsertPrefix etc need a WriterFormat object in the same way as a Template object 20010621: yes, a conf section in writer formats would be kinda cool - but how does this gel with additional config files - maybe it's too complex we'll see what the demand/need is for this before doing anything
8 2000-05-16 Richard O 1 need a main section for stuff to go in the main method or area 20020317: why? 20030613: why not?
9 2000-07-19 Richard O 1 need _getTemplateFileName() - use jostraca.TemplateFileName
12 2000-10-09 Richard O 3 remove ' escapes from code writer templates - serves no real purpose and can't use: '$<foo>' !!!! 20010723: in principle yes - need a full review of codewriter syntax etc
13 2000-10-15 Richard O 1 literal references to writer format syntax tokens @<...> in BlockIndenter should be standardised
17 2001-03-28 Richard O 5 jostraca.Location handling needs work standard property dumps - show source or actual values? standardise slash - avoid a\b/c etc.
19 2001-04-21 Richard C 5 CodeCompilers and CodeWriterControllers should get valid params as part of the usage contract - so that developers don't need to null check etc 20041123: these classes are no longer used 20041123
20 2001-05-23 Richard O 1 TextualTransform.transform( Block ) gives Block metadata for line numbers etc to transform. implement in Support to make things easier
21 2001-05-23 Richard O 5 put language specific classes into org.jostraca.lang package
22 2001-07-24 Richard C 5 finding codewriter in codewriter controller - be careful how it is done 20041123
24 2001-10-15 Richard O 5 $<?main.Foo> -> value of $<lang.TrueString> if PropertySet.isYes( "main.Foo" ) for setting boolean conf values in code writer
27 2001-11-06 Richard O 1 get rid of the annoying space after nref
28 2002-01-01 Richard O 4 empty string as outputfolder => file placed in root folder ??? check
31 2002-01-14 Richard O 5 better error message if this-is-jostraca file not found
34 2002-03-17 Richard C 3 Need a way to specify classpath to Jostraca for executing codewriters – useful for ant task 20041123: java.ClassPath[Prefix|Suffix] handles this 20041123
35 2002-03-17 Richard O 3 TemplateList attr in ant task should also be given as fileset
38 2002-03-17 Richard O 1 verbatim code: <% @conf = ('a','b'); %> is perfectly legit perl but won't be accepted by jostraca. Use <%% @conf = ('a','b'); %> to mean: accept contents as verbatim code or <% @verbatim @conf = ('a','b'); %> with <%% being an abbreviation. workaround for version 0.1: <% #comment @conf = ('a','b'); %>
40 2002-03-17 Richard C 1 Use log4j to handle internal debugging – maybe better to use simple interface to InternalError and a config property to turn in on/off 2003-02-16: not sure about this – but would be good for server integration – maybe a compile time option. 20041123: tracking system used instead – not using log4j to avoid version clashes and dependency 20041123
42 2002-03-29 Richard O 3 Test java 1.1 compatibility
44 2002-03-30 Richard O 5 Update path templates
45 2002-03-30 Richard O 2 Update to latest version of checkstyle
47 2002-03-30 Richard O 5 Need a way to test the examples
48 2002-03-30 Richard O 1 Put a warning in for version 0.1 templates after version 0.4
49 2002-03-30 Richard O 5 Remove site building targets from standard build.xml
50 2002-03-30 Richard O 5 Are you tracking jar versions for ant etc?
53 2002-03-30 Richard O 2 Find out about the winzip 6.2 empty files problem -winzip 8.1 does not have this problem
55 2002-04-06 Richard O 5 -p option to set main.TemplatePath directly, -P to clear and then add, -p to prepend to existing
56 2002-04-13 Richard O 5 New design for block processing, replacement , includes, etc: process everything by parsing <% and %>, includes and all then do the directive operations on the block stream mark a text block as dirty if it needs a reparse due to added <% and %> from replacements or includes to handle precedence of directives, has a preprocess list of directives which operates as follows: foreach directive, search the block list for that directive, and operate if none found, go to next directive in list if some found, go to FIRST directive again so the only way to get out is to complete all directives in order => replaces can create includes etc. Can also help to ensure that replaces only work on ttext, as if text block is dirty, we know to reparse first 2003-02-16: UnitProcessor get's us 10% of the way there
57 2002-07-28 Richard O 5 File references in include should find library template paths as well as normal files
58 2002-07-30 Richard O 2 Template idea: generic pair, triplet, tuple etc with parameterized names and types
62 2002-07-30 Richard C 3 Convert old unit test code to junit format 20041123: all done 20041123
66 2002-10-09 Richard O 5 Include directive should be able to prevent double includes if necessary – like IFDEF for C includes
67 2008-08-04 Richard O 4 The dumped template is not very useful – but this will probably be solved by the new block parsing system
70 2002-09-11 Richard O 5 Include directive: as well as template-relative, need include-relative – for sharing between sub includes in different folders - in fact we need a general way to specify where to find includes at all levels this features should only be implemented with the new directive parsing
71 2002-09-17 Richard C 5 Fixer for CodeWriter names when they are not valid class names 20041123
72 2002-09-17 Richard O 5 CodeWriter should really be in the .jostraca folder so that it does not mess up current folder 2003-02-16: for Eclipse integration, it should also be possible to put the code writer under the jostraca distribution tree, or even in a tmp folder, say /tmp/.jostraca-work – use a different name to avoid colisions with generation in /tmp
73 2002-09-17 Richard O 1 directives: <% !start %> : discard existing text and start again <% !end %> : don't add anymore text to code writer these are compile time but - you can also do this: <% !section ingore %> <% !section write %> ... <% !section ignore %> 20010826: these should be directives: <% @start-template %> <% @end-template %> also: <% @start-ignore %> <% @end-ignore %> all done by using sections
78 2002-10-30 Richard O 5 Need a @replace/insert foo bar => @replace foo $<o>=bar$<c>
79 2002-11-17 Richard O 5 @replace/list – list of replacements in one directive 20030613: preferred syntax uses general syntax form multiple directives in one script element: <% @replace a b @ c d @ e f %>
80 2002-11-19 Richard O 5 @must-replace and @must-replace-regexp – create error if unreplaced strings found
85 2002-12-15 Richard C 3 Ant task: template attribute expects a File – is this correct? Leads to automatic expansion of path which is not correct for library templates 20041123: library templates can be used from ant 20041123
87 2003-02-16 Richard O 2 Mark file header for easy search and replace
89 2003-02-16 Richard O 4 Backup files are created in large numbers in the .jostraca folder – this leads to performance problems over time
90 2003-02-17 Richard O 5 Need a way to specify resource files which are not directly used on command line – see DefaultPropertySets for good example and not just an any compatible method! - although this should be available too
91 2003-02-23 Richard C 4 Verbosity is not controlled by a property – change this 20041123: duplicate with 112 20041123
92 2003-06-13 Richard O 3 Document VirtualTemplate
93 2003-06-19 Richard C 5 Update all compiler and controller classes to use ExecutableCommand 20041123: new proces system only uses ExecutableCommand 20041123
94 2003-06-19 Richard O 5 Need a source xml file to generate INSTALL.htm and INSTALL.txt
95 2003-06-19 Richard O 5 RegExp should use Internal for null checks, and not own methods
96 2003-07-21 Richard O 3 Need “Generate once” templates – templates that are only executed once – if the output file exists they do not run
97 2003-07-21 Richard C 5 main.AlsoGenerate does not work properly with the uptodate checks – possible solution is to search the template space for the template list file? 20041123: AlsoGenerate removed 20041123
98 2003-07-22 Richard C 5 Could reflection be used to execute writer within jostraca, without casting to a known type like BasicJavaCodeWriter 20041123: InternalJavaController does this now 20041123
99 2003-07-22 Richard O 5 Does it make sense to have a release item in the java file headers? This info is already in other locations – better to remove it it's just a maintenance headache 20041123: this will now be removed from all files as a matter of policy – work is no yet complete as performed ad hoc to date
100 2003-07-25 Richard O 5 Put version declaration classes into util and jostraca main
101 2003-08-12 Richard C 4 Internal.check methods: need a null check for arg and state – so deprecate check_null and replace with null_arg and null_state throwing IllegalArgumentException and IllegalStateException respectively 20041123: check_null removed 20041123
102 2003-08-12 Richard O 5 Get rid of the Description title in javadoc
103 2003-08-12 Richard C 5 InternalController could be made independent of BasicJavaCodeWriter internace using reflection – check 2001123: duplicates 98 20041123
104 2003-08-12 Richard O 5 Weird out of memory error when import statement in import! Is invalid and compile/execute is internal
105 2003-08-14 Richard O 3 Failed instead of Finished if there was an error
106 2003-09-01 Richard O 6 Regexp replaces defined AFTER normal replaces do not work on the products of the normal replacements, this behaviour should be fixed in the new parser – where replacements are continually applied until nothing changes
107 2003-09-25 Richard O 3 Boolean parser should handle unrecognised test as false – solves ant ${undef} => false problem
108 2004-07-28 Richard O 5 -f option should accept jostraca folder and use conf/system.conf if available
109 2004-08-06 Richard C 5 parse.* should be reset for each new template otherwise independent templates interfere when run together 20041123: new process system solves this 20041123
110 2004-08-11 Richard O 5 Option for CategoryException generator to NOT generate .CODE_* shortcut methods as do not return base exceptions if subclassed
111 2004-10-22 Richard O 1 test performance of template regexp parse at start versus antlr full parse – parse is too slow in any case
112 2004-10-25 Richard O 5 verbose needs a property for consistency – set via property not directly in Jostraca.java
113 2004-11-18 Richard O 5 python and perl examples need to be updated to handle 0.4 objectified writer formats
114 2004-11-18 Richard O 5 give all writer format a generate method
115 2004-11-18 Richard O 5 make describeState safe in all cw – check getFileNameRoot has no out-of-bounds
116 2004-11-22 Richard O 5 JostracaException should be a proper StandardException
117 2004-11-23 Richard O 5 dump README.txt from examples as too difficult to keep consistent and use README.htm only

home |  download |  documentation |  resources  |  contact |  SourceForge Logo  |  Copyright © 2000-2002 Richard Rodger. Site License.