grouper-dev - RE: [grouper-dev] RE: Mavenizing Grouper UI
Subject: Grouper Developers Forum
List archive
- From: "GW Brown, Information Systems and Computing" <>
- To: Chris Hyzer <>, "Klug, Lawrence" <>, Tom Zeller <>
- Cc: Grouper Dev <>
- Subject: RE: [grouper-dev] RE: Mavenizing Grouper UI
- Date: Fri, 30 Sep 2011 08:20:10 +0100
You can do this through filters:
<filters>
<filter>src/main/filters/default.properties</filter>
<filter>src/main/filters/${deployment-filters}</filter>
</filters>
and use a profile to have different values for different builds
<profile>
<!-- default profile or invoke explicitly with:
mvn pacakge -Denv=isgwb
-->
<id>build config - isgwb</id>
<properties>
<deployment-filters>isgwb.properties</deployment-filters>
</properties>
<activation>
<property>
<name>env</name>
<value>isgwb</value>
</property>
</activation>
</profile>
and turn filtering on
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0.1</version>
<configuration>
<webResources>
<resource>
<filtering>true</filtering>
<directory>src/main/webapp</directory>
<includes>
<include>**/*.properties</include>
<include>WEB-INF/deployerConfigContext.xml</include>
<include>WEB-INF/web.xml</include>
</includes>
</resource>
</webResources>
<!-- set where to explode to -->
<webappDirectory>target/exploded</webappDirectory>
</configuration>
</plugin>
Gary
--On 30 September 2011 02:30 +0000 Chris Hyzer <> wrote:
Ant does a variable replace of variables in other config files (e.g.
media.properties) from the build.properties... can maven do that or do we
want to rethink it so it is more like the api/ws/etc?
Thanks,
Chris
-----Original Message-----
From: Klug, Lawrence
[mailto:]
Sent: Thursday, September 29, 2011 5:25 PM
To: Chris Hyzer; Tom Zeller
Cc: Grouper Dev
Subject: RE: [grouper-dev] RE: Mavenizing Grouper UI
I've got a Maven project for grouper-UI - still working through an error
when building the menu in PrepareMenuAction - does anyone recognize the
cause? Probably a missing or colliding dependency...
Sep 29, 2011 2:13:46 PM org.apache.catalina.core.ApplicationDispatcher
invoke SEVERE: Servlet.service() for servlet action threw exception
java.lang.RuntimeException: Invalid value: '@ui-lite.link-from-admin-ui@'
for key 'ui-lite.link-from-admin-ui' in media properties (or local or
locale). Should be true or false at
edu.internet2.middleware.grouper.ui.tags.TagUtils.mediaResourceBoolean(Ta
gUtils.java:105) at
edu.internet2.middleware.grouper.ui.actions.PrepareMenuAction.isValidMenu
Item(PrepareMenuAction.java:158) at
edu.internet2.middleware.grouper.ui.actions.PrepareMenuAction.grouperExec
ute(PrepareMenuAction.java:135) at
edu.internet2.middleware.grouper.ui.actions.LowLevelGrouperCapableAction.
execute(LowLevelGrouperCapableAction.java:132) at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPro
cessor.java:424) at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:2
27) at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
ionFilterChain.java:290) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
rChain.java:206) at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatch
er.java:646) at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispa
tcher.java:551) at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatc
her.java:488) at
org.apache.struts.tiles.UrlController.execute(UrlController.java:94) at
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag
.java:873) at
org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460) at
org.apache.jsp.WEB_002dINF.jsp.body_jsp._jspx_meth_tiles_005finsert_005f6
(body_jsp.java:583) at
org.apache.jsp.WEB_002dINF.jsp.body_jsp._jspx_meth_c_005fif_005f1(body_js
p.java:554) at
org.apache.jsp.WEB_002dINF.jsp.body_jsp._jspx_meth_grouper_005frecordTile
_005f0(body_jsp.java:261) at
org.apache.jsp.WEB_002dINF.jsp.body_jsp._jspService(body_jsp.java:105)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav
a:386) at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
ionFilterChain.java:290) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
rChain.java:206) at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatch
er.java:646) at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispa
tcher.java:551) at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatc
her.java:488) at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.jav
a:968) at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:62
4) at
org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:101)
at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:137)
at
org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:758)
at
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag
.java:890) at
org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460) at
org.apache.jsp.WEB_002dINF.jsp.template_jsp._jspx_meth_tiles_005finsert_0
05f2(template_jsp.java:467) at
org.apache.jsp.WEB_002dINF.jsp.template_jsp._jspService(template_jsp.java
:185) at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav
a:386) at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
ionFilterChain.java:290) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
rChain.java:206) at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatch
er.java:646) at
org.apache.catalina.core.ApplicationDispatcher.processRequest(Application
Dispatcher.java:436) at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispa
tcher.java:374) at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatc
her.java:302) at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java
:1059) at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProce
ssor.java:261) at
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(Tile
sRequestProcessor.java:237) at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesR
equestProcessor.java:300) at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:2
31) at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
ionFilterChain.java:290) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
rChain.java:206) at
edu.internet2.middleware.grouper.ui.LoginCheckFilter$1.callback(LoginChec
kFilter.java:173) at
edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(Gr
ouperSession.java:644) at
edu.internet2.middleware.grouper.ui.LoginCheckFilter.doFilter(LoginCheckF
ilter.java:168) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
ionFilterChain.java:235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
rChain.java:206) at
edu.internet2.middleware.grouper.ui.ErrorFilter.doFilter(ErrorFilter.java
:132) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
ionFilterChain.java:235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
rChain.java:206) at
edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFil
ter.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
ionFilterChain.java:235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
rChain.java:206) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve
.java:219) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve
.java:191) at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorB
ase.java:470) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
127) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j
ava:109) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:29
8) at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(H
ttp11Protocol.java:588) at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
-----Original Message-----
From:
[mailto:]
On Behalf Of Klug, Lawrence
Sent: Friday, September 23, 2011 9:58 AM
To: Chris Hyzer; Tom Zeller
Cc: Grouper Dev
Subject: RE: [grouper-dev] RE: Mavenizing Grouper UI
Chris,
Definitely will share the results :-)
Lawrence
-----Original Message-----
From: Chris Hyzer
[mailto:]
Sent: Friday, September 23, 2011 9:50 AM
To: Klug, Lawrence; Tom Zeller
Cc: Grouper Dev
Subject: RE: [grouper-dev] RE: Mavenizing Grouper UI
At some point we would like to get away from ant, so whatever you come up
with, if you can share it with us, that would be great.
Thanks,
Chris
-----Original Message-----
From:
[mailto:]
On Behalf Of Klug, Lawrence
Sent: Friday, September 23, 2011 12:50 PM
To: Tom Zeller
Cc: Grouper Dev
Subject: RE: [grouper-dev] RE: Mavenizing Grouper UI
How important is mavenizing the UI ?
This is important for us. We use Maven and Teamcity for deployments to
Preview, QA and Prod environments.
IM Skype: Larry_Klug
So far I've developed a pom using Grouper_parent as a guide.
Thanks,
Lawrence
-----Original Message-----
From:
[mailto:]
On Behalf Of Tom
Zeller Sent: Friday, September 23, 2011 9:34 AM
To: Klug, Lawrence
Cc: Grouper Dev
Subject: Re: [grouper-dev] RE: Mavenizing Grouper UI
Lawrence,
How important is mavenizing the UI ?
The UI should be a child module of the grouper-parent project.
It probably would save everyone time if we stayed in touch using IM or
something whilst this is attempted.
TomZ
On Fri, Sep 23, 2011 at 11:19 AM, Chris Hyzer
<>
wrote:
Everything in the API (which has a pom), and the jars in
grouper-ui/java/lib/
Thanks,
Chris
From:
[mailto:]
On Behalf Of Klug, Lawrence
Sent: Friday, September 23, 2011 12:17 PM
To: Grouper Dev
Subject: [grouper-dev] Mavenizing Grouper UI
Hi,
At UCLA we are using Maven, SVN and Teamcity for our build process. My
task: develop a POM for Grouper containing the API, Admin UI and
LDAPPPCNG modules that will build a WAR. Question: is there a
published list of dependencies for the Admin UI available? Any tips
or suggestions?
Thanks,
Lawrence
----------------------
GW Brown, IT Services
- [grouper-dev] Mavenizing Grouper UI, Klug, Lawrence, 09/23/2011
- [grouper-dev] RE: Mavenizing Grouper UI, Chris Hyzer, 09/23/2011
- Re: [grouper-dev] RE: Mavenizing Grouper UI, Tom Zeller, 09/23/2011
- RE: [grouper-dev] RE: Mavenizing Grouper UI, Klug, Lawrence, 09/23/2011
- RE: [grouper-dev] RE: Mavenizing Grouper UI, Chris Hyzer, 09/23/2011
- RE: [grouper-dev] RE: Mavenizing Grouper UI, Klug, Lawrence, 09/23/2011
- RE: [grouper-dev] RE: Mavenizing Grouper UI, Klug, Lawrence, 09/29/2011
- RE: [grouper-dev] RE: Mavenizing Grouper UI, Chris Hyzer, 09/29/2011
- RE: [grouper-dev] RE: Mavenizing Grouper UI, Chris Hyzer, 09/29/2011
- RE: [grouper-dev] RE: Mavenizing Grouper UI, Klug, Lawrence, 09/30/2011
- RE: [grouper-dev] RE: Mavenizing Grouper UI, GW Brown, Information Systems and Computing, 09/30/2011
- RE: [grouper-dev] RE: Mavenizing Grouper UI, Klug, Lawrence, 09/30/2011
- Re: [grouper-dev] RE: Mavenizing Grouper UI, Tom Zeller, 09/30/2011
- RE: [grouper-dev] RE: Mavenizing Grouper UI, Klug, Lawrence, 09/30/2011
- Re: [grouper-dev] RE: Mavenizing Grouper UI, Tom Zeller, 09/30/2011
- RE: [grouper-dev] RE: Mavenizing Grouper UI, Klug, Lawrence, 09/30/2011
- RE: [grouper-dev] RE: Mavenizing Grouper UI, Klug, Lawrence, 09/29/2011
- RE: [grouper-dev] RE: Mavenizing Grouper UI, Klug, Lawrence, 09/23/2011
- RE: [grouper-dev] RE: Mavenizing Grouper UI, Chris Hyzer, 09/23/2011
- RE: [grouper-dev] RE: Mavenizing Grouper UI, Klug, Lawrence, 09/23/2011
- Re: [grouper-dev] RE: Mavenizing Grouper UI, Tom Zeller, 09/23/2011
- [grouper-dev] RE: Mavenizing Grouper UI, Chris Hyzer, 09/23/2011
Archive powered by MHonArc 2.6.16.