-
Type:
Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Labels:None
{markdown}
This task involves:
- Removing unused imports from all Liferay Faces files (the easiest way is to use the feature from an IDE like [Eclipse](http://stackoverflow.com/questions/5686825/how-to-remove-unused-imports-from-eclipse) or [Netbeans](http://stackoverflow.com/questions/956900/code-cleanup-in-netbeans)).
- Fixing the version in the parent-most `pom.xml`
- Running all generators.
- Running `fix-versions.pl` from the root of the Liferay Faces Project
- Using jalopy source formatter on all Liferay Faces files (Using `jalopy.sh` from the command line seems like the easiest way).
Run the following command from the root of the liferay-faces project to perform the last 4 steps at once:{markdown}
This task involves:
- Removing unused imports from all Liferay Faces files (the easiest way is to use the feature from an IDE like [Eclipse](http://stackoverflow.com/questions/5686825/how-to-remove-unused-imports-from-eclipse) or [Netbeans](http://stackoverflow.com/questions/956900/code-cleanup-in-netbeans)).
- Fixing the version in the parent-most `pom.xml`
- Running all generators.
- Running `fix-versions.pl` from the root of the Liferay Faces Project
- Using jalopy source formatter on all Liferay Faces files (Using `jalopy.sh` from the command line seems like the easiest way).
Run the following command from the root of the liferay-faces project to perform the last 4 steps at once:{markdown}
gsed -i '0,/version>\([0-9][.][0-9]\).*<\/version/s//version>\1.5-ga6-SNAPSHOT<\/version/' pom.xml && \ fix-versions.pl && mvn clean install && \ (cd alloy/ && mvn generate-sources -P generate-components) && \ (cd bridge-impl/ && mvn generate-sources -P generate-components) && \ (cd bridge-impl/ && mvn generate-sources -P generate-components \ -Dcomponent.namespace=portlet -Dcomponent.namespace.URI=http://java.sun.com/portlet_2_0) && \ (cd portal/ && mvn generate-sources -P generate-components) && \ mvn clean && jalopy.sh -r .