Fornax-Platform Log In   View a printable version of the current page.  
  0. What's New (CSC)
  Dashboard > Fornax-Platform > ... > Sculptor (CSC) > 0. What's New (CSC)
General


Projects


Latest News



Global Reports
Find all pages that aren't linked from anywhere
Find all undefined pages
Feed for new pages
Added by Patrik Nordwall, last edited by Patrik Nordwall on Nov 01, 2008  (view change)
Labels: 
(None)

What's New in Sculptor

Version 1.4.x

Version 1.4.1 was released October 6, 2008.

The most important features of this release:

  • JSF dialect of CRUD GUI.
  • Possibility to split model.design into several files.
  • Upgrade to oAW 4.3
  • Support for Eclipse 3.4 Ganymede. Europa 3.3.2 is also supported.

Fixed issues:

Tracker for Fornax-Platform and CM3 (11 issues)
T Key Pr Status Summary Res
Improvement CSC-204 Critical ClosedClosed Upgrade to oAW 4.3 FIXED
New Feature CSC-124 Major ClosedClosed JSF dialect of crud gui FIXED
New Feature CSC-125 Major ClosedClosed Facelets dialect of JSF crud impl FIXED
Bug CSC-202 Major ClosedClosed Make GenerationHelper.getTypeName public FIXED
Improvement CSC-203 Major ClosedClosed fetch="join" for many-to-one FIXED
Bug CSC-207 Major ClosedClosed Not possible to deploy several applications FIXED
Bug CSC-212 Major ClosedClosed Wrong order of MySQL DDL create statements FIXED
New Feature CSC-148 Minor ClosedClosed Possibility to split model.design to several files FIXED
New Feature CSC-209 Minor ClosedClosed JSF archetype FIXED
Bug CSC-218 Minor ClosedClosed JSF: CSS not loaded FIXED
Bug CSC-205 Trivial ClosedClosed 2 errors 'Bundle symbolic name contains illegal characters. Legal characters are A-Z a-z 0-9' FIXED

Tracker for Fornax-Platform and CM3 (11 issues)
T Key Pr Status Summary Res
Bug CSC-214 Major ClosedClosed CSS is overwritten when regenerate application FIXED
Bug CSC-220 Major ClosedClosed JSF: associations in delete flows FIXED
Bug CSC-219 Major ResolvedResolved JSF WebApp CreateXXXXForm.java does not generate correct names for objects of same Class. FIXED
Bug CSC-217 Major ResolvedResolved JSF: required associations FIXED
Bug CSC-215 Major ResolvedResolved JSF: LazyInitializationException FIXED
Task CSC-200 Major ResolvedResolved Deploy to new Fornax repository FIXED
Improvement CSC-223 Minor ResolvedResolved expose access to getBasePackage() method in generator FIXED
Improvement CSC-221 Minor ResolvedResolved JSF: Improve error information FIXED
Bug CSC-224 Minor ResolvedResolved ID hardcoded in DDL generation FIXED
Bug CSC-222 Minor ResolvedResolved When generate.serviceContext=false is set in properties, the spring config file should not include the serviceContext AOP advice FIXED
Bug CSC-216 Minor ResolvedResolved JSF: not required enums FIXED

JSF dialect still in beta

There are some known issues with the JSF dialect of the CRUD GUI. JSF will be our future default choice and we are working hard to make it good. Please, try it and report issues

Migration

You have to upgrade to oAW 4.3, see Installation guide.

If you start from scratch you use the maven archetypes to create project structure, and you can of course skip these migration instructions.

If you have an existing project you need to do the following tasks.

1. Change sculptor.version in the pom.xml of the parent project.

<sculptor.version>1.4.1</sculptor.version>

2. Change fornax-oaw-m2.version in the pom.xml of the parent project.

<fornax-oaw-m2.version>2.1.0</fornax-oaw-m2.version>

3. The fornax maven repository has moved and therefore you need to change the repositories settings in pom.xml of the parent project. It should be like this:

<repositories>
		<repository>
			<id>releases.archiva.fornax-platform.org</id>
			<name>Archiva Managed Release Repository</name>
			<url>
				http://www.fornax-platform.org/archiva/repository/releases/
			</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>snapshots.archiva.fornax-platform.org</id>
			<name>Archiva Managed Snapshot Repository</name>
			<url>
				http://www.fornax-platform.org/archiva/repository/snapshots/
			</url>
			<releases>
				<enabled>false</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>java.net</id>
			<url>http://download.java.net/maven/1</url>
			<layout>legacy</layout>
		</repository>
	</repositories>
	<pluginRepositories>
		<pluginRepository>
			<id>releases.archiva.fornax-platform.org</id>
			<name>Archiva Managed Release Repository</name>
			<url>
				http://www.fornax-platform.org/archiva/repository/releases/
			</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</pluginRepository>
		<pluginRepository>
			<id>snapshots.archiva.fornax-platform.org</id>
			<name>Archiva Managed Snapshot Repository</name>
			<url>
				http://www.fornax-platform.org/archiva/repository/snapshots/
			</url>
			<releases>
				<enabled>false</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</pluginRepository>
	</pluginRepositories>

4. Thereafter you need to run mvn eclipse:eclipse from the parent project to update the classpath of the Eclipse projects.

5. If you have an existing project and need correction of "CSC-207 Not possible to deploy several applications" you have to change the pom.xml in the ear project. Change version of maven-ear-plugin to 2.3.1 and add the following
You have to upgrade to oAW 4.3, see Installation guide.

jboss element to the configuration:

<plugin>
	<artifactId>maven-ear-plugin</artifactId>
	<version>2.3.1</version>
	<configuration>
		<generateApplicationXml>true</generateApplicationXml>
		<jboss>
			<loader-repository>${groupId}.${artifactId}:archive=${artifactId}.ear</loader-repository>
		</jboss>

Version 1.3.x

Version 1.3.1 was released April 11, 2008.

The most important feature of 1.3 is a totally new metamodel for the CRUD GUI. In version 1.1 we implemented theyou need to change the version of fornax-oaw-m2-plugin. You have to change the pom.xml in the parent project.

<fornax-oaw-m2.version>2.1.0</fornax-oaw-m2.version>

If you have an existing project CRUD GUI without a separate gui metamodel. The gui generation was using the business tier model. This was a good start, but the experience was that the templates and helper extensions became rather complicated. A special purpose gui metamodel simplified the templates and moved some of the logic to a transformation instead. This is important as we see the need for different dialects of the GUI. In the initial version we are using Spring WebFlow and JSP. We have also started a JSF dialect. More is likely to come, such as rich client (RCP). Another motivation for the gui metamodel is the possibility to customize the GUI by using a separate DSL (in next release).

The release also contains several other improvements and new features.

Tracker for Fornax-Platform and CM3 (20 issues)
T Key Pr Status Summary Res
New Feature CSC-135 Critical ClosedClosed Support for Enum FIXED
New Feature CSC-150 Critical ClosedClosed GUI Meta Model FIXED
New Feature CSC-166 Major ClosedClosed GUI - checkbox for Boolean properties FIXED
Bug CSC-174 Major ClosedClosed ParseException: no viable alternative at character '¿' on line 2 FIXED
Bug CSC-178 Major ClosedClosed StackOverflowError getDomainObjectsInCreateOrder FIXED
Bug CSC-179 Major ClosedClosed Wrong foreign key name in DB FIXED
Improvement CSC-180 Major ClosedClosed Hierarchy Relationship FIXED
Bug CSC-181 Major ClosedClosed Wrong name for address FIXED
Bug CSC-182 Major ClosedClosed ON DELETE CASCADE not generated in DDL FIXED
New Feature CSC-186 Major ClosedClosed Column names for existing database FIXED
Bug CSC-190 Major ClosedClosed Wrong derived cascade FIXED
Bug CSC-191 Major ClosedClosed Wrong getter for java.lang.Boolean FIXED
Improvement CSC-152 Minor ClosedClosed GUI - Simplify basic type references FIXED
Improvement CSC-153 Minor ClosedClosed GUI - Simplify references to subclasses FIXED
Improvement CSC-154 Minor ClosedClosed GUI - Better structure and separation of presentation rules FIXED
Bug CSC-164 Minor ClosedClosed Duplicate field creation in Web app test class FIXED
Bug CSC-185 Minor ClosedClosed GUI - nullable date FIXED
Improvement CSC-173 Trivial ClosedClosed Repositories in pom FIXED
Bug CSC-184 Trivial ClosedClosed Wrong target dir in antbuild-ear.xml FIXED
Improvement CSC-188 Trivial ClosedClosed Service delegation syntax FIXED

Some more bug fixes in 1.3.1.

Tracker for Fornax-Platform and CM3 (6 issues)
T Key Pr Status Summary Res
Bug CSC-192 Major ClosedClosed Java Error in Default Properties FIXED
Bug CSC-194 Major ClosedClosed Spring GUI will have Java errors when naming an entity with a trailing s (indicating plural) FIXED
Bug CSC-196 Major ClosedClosed Sculptor shouldn't use '/' in cashe region names if cache provider is EhCache FIXED
Bug CSC-197 Major ClosedClosed "more.xml" should be imported in "applicationContext.xml" FIXED
Bug CSC-198 Major ClosedClosed Cache provider should be declared in SessionFactory-test.xml configuration if cache is enabled. FIXED
Bug CSC-170 Minor ClosedClosed GUI - validation of required reference FIXED

Migration

If you start from scratch you use the maven archetypes to create project structure.

For existing projects you have to do some migration.

1. workflow.oaw
You need to rename workflow.oaw in web project to workflow-gui.oaw and also change the reference to this file in pom.xml in the same web project:

<plugin>
		<groupId>org.fornax.toolsupport</groupId>
		<artifactId>fornax-oaw-m2-plugin</artifactId>
		<version>${fornax-oaw-m2.version}</version>
		<configuration>
			<workflowDescriptor>workflow-gui.oaw</workflowDescriptor>
			<checkResources>
				<checkResource>
					../fornax-cartridges-sculptor-examples-library/src/main/resources/model.design
				</checkResource>
			</checkResources>
			<properties>
				<modelFile>model.design</modelFile>
				<appProject>${artifactId}</appProject>
			</properties>
		</configuration>
		<executions>
			<execution>
				<phase>generate-sources</phase>
				<goals>
					<goal>run-workflow</goal>
				</goals>
			</execution>
		</executions>
	</plugin>

2. Rename foreign key columns
The naming conventions for foreign key columns in the generated DDL file has been changed. Basically the new naming is based on names of the references, instead of names of the referred objects. Make a copy of previously generated DDL file and compare that to the new one see what has been changed. Rename columns in existing database, if you can't recreate the database.

ALTER TABLE MOON CHANGE COLUMN PLANET_ID PLANET BIGINT NOT NULL 

ALTER TABLE DEPARTMENT CHANGE COLUMN EMPLOYEE_ID HEADOFDEPARTMENT BIGINT

With this version it is possible to define database table and column names in the DSL, i.e. if you can't change the database you can define the old names. See Advanced Tutorial.

Version 1.2.x

Version 1.2.0 was released December 9, 2007.

Tracker for Fornax-Platform and CM3 (7 issues)
T Key Pr Status Summary Res
Improvement CSC-129 Major ClosedClosed Test with JBoss 4.2 FIXED
Improvement CSC-131 Major ClosedClosed Use oAW 4.2 FIXED
Improvement CSC-146 Major ClosedClosed Eclipse 3.3 (europa) FIXED
New Feature CSC-147 Major ClosedClosed Use new xText features FIXED
Improvement CSC-165 Major ClosedClosed GUI - annoying that generator properties must be defined twice FIXED
Improvement CSC-145 Minor ClosedClosed Upgrade to web flow 1.0.5 FIXED
Improvement CSC-172 Minor ClosedClosed Get rid of manually installed jars FIXED

It is a technical upgrade of several core products such as Eclipse and openArchitectureWare. You have to do