[JBoss JIRA] (GTNPORTAL-2438) Build improvements
by Marko Strukelj (JIRA)
Marko Strukelj created GTNPORTAL-2438:
-----------------------------------------
Summary: Build improvements
Key: GTNPORTAL-2438
URL: https://issues.jboss.org/browse/GTNPORTAL-2438
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Affects Versions: 3.2.0-GA
Reporter: Marko Strukelj
Assignee: Marko Strukelj
Building and packaging with different servers uses inconsistent system properties, and behaviors.
Some of the issues are:
- build has dependencies on old repository.jboss.org/maven2 requiring users to configure jboss public repository in their maven settings.xml
- verbose names for properties influencing the build
- inconsistent -Pdownload behaviour, failed to work for tomcat6, tomcat7, no support for jetty
- it's annoying that build fails with -Pdownload if the server directory exists already
- it's annoying to sometime use -P and sometimes -D
Implement the following:
- All settings are used via -D
- -Ddownload can be used any time and should use defaults and fallbacks to successfully complete the build
- Use the following system properties:
** -Dservers.dir ... the only parameter required - specifies path to directory containing downloaded and exploded application servers
** -Dserver.name ... name of a directory under ${servers.dir} that should be used for packaging. Only makes sense when packaging one server only
** -Ddownload ... use default ${server.name}, and download and explode the server archive to default ${server.name} if necessary
** -Dtomcat6.name ... necessary to specify Tomcat6 directory name in place of -Dserver.name when packaging multiple servers in one build
** -Dtomcat7.name ... necessary to specify Tomcat7 directory name in place of -Dserver.name when packaging multiple servers in one build
** -Djboss5.name ... necessary to specify JBoss AS5 directory name in place of -Dserver.name when packaging multiple servers in one build
** -Djboss6.name ... necessary to specify JBoss AS6 directory name in place of -Dserver.name when packaging multiple servers in one build
** -Djboss7.name ... necessary to specify JBoss AS7 directory name in place of -Dserver.name when packaging multiple servers in one build
** -Djetty.name ... necessary to specify Jetty6 directory name in place of -Dserver.name when packaging multiple servers in one build
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (GTNPORTAL-2436) Introduce new config for remote resource
by Vu Viet Phuong (JIRA)
Vu Viet Phuong created GTNPORTAL-2436:
-----------------------------------------
Summary: Introduce new config for remote resource
Key: GTNPORTAL-2436
URL: https://issues.jboss.org/browse/GTNPORTAL-2436
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Reporter: Vu Viet Phuong
Assignee: Vu Viet Phuong
portal serving managed Javascript resources by using gatein-resources.xml. There are 2 type of JS resources: local and remote (the external resources, that comes with an absolute uri)
We should not allow to mix the declaration of local and remote script in a module anymore. An JS module should only contains 1 or many local scripts, or just contains 1 remote script. That make things easier to manage
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years