grouper-dev - RE: [grouper-dev] RE: Mavenizing Grouper UI
Subject: Grouper Developers Forum
List archive
- From: "Klug, Lawrence" <>
- To: Tom Zeller <>
- Cc: Grouper Dev <>
- Subject: RE: [grouper-dev] RE: Mavenizing Grouper UI
- Date: Fri, 30 Sep 2011 11:28:12 -0700
- Accept-language: en-US
- Acceptlanguage: en-US
Sure, how do you want it delivered?
-----Original Message-----
From:
[mailto:]
On Behalf Of Tom Zeller
Sent: Friday, September 30, 2011 11:12 AM
To: Klug, Lawrence
Cc: Grouper Dev
Subject: Re: [grouper-dev] RE: Mavenizing Grouper UI
Would you mind sharing pom.xml ?
On Fri, Sep 30, 2011 at 1:09 PM, Klug, Lawrence
<>
wrote:
> Hi Gary,
>
> Using Maven filters looks like the way to go.
>
> For now, I just hard coded the offending items in
> /resources/grouper/media.properties and it's working cool in both Eclipse
> and on the dev server.
>
> To set the root stem I had to leave it blank:
>
> default.browse.stem=
>
> thanks,
>
> Lawrence
>
> -----Original Message-----
> From: GW Brown, Information Systems and Computing
> [mailto:]
> Sent: Friday, September 30, 2011 12:20 AM
> To: Chris Hyzer; Klug, Lawrence; Tom Zeller
> Cc: Grouper Dev
> Subject: RE: [grouper-dev] RE: Mavenizing Grouper UI
>
> 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.mediaResourceBoolea
>> n(Ta
>> gUtils.java:105) at
>> edu.internet2.middleware.grouper.ui.actions.PrepareMenuAction.isValid
>> Menu
>> Item(PrepareMenuAction.java:158) at
>> edu.internet2.middleware.grouper.ui.actions.PrepareMenuAction.grouper
>> Exec
>> ute(PrepareMenuAction.java:135) at
>> edu.internet2.middleware.grouper.ui.actions.LowLevelGrouperCapableAction.
>> execute(LowLevelGrouperCapableAction.java:132) at
>> org.apache.struts.action.RequestProcessor.processActionPerform(Reques
>> tPro
>> cessor.java:424) at
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
>> va:2
>> 27) at
>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
>> 4)
>> 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(Appl
>> icat
>> ionFilterChain.java:290) at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilte
>> rChain.java:206) at
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
>> atch
>> er.java:646) at
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
>> ispa
>> tcher.java:551) at
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
>> patc
>> her.java:488) at
>> org.apache.struts.tiles.UrlController.execute(UrlController.java:94)
>> at
>> org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(Inser
>> tTag
>> .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_0
>> 05f6
>> (body_jsp.java:583) at
>> org.apache.jsp.WEB_002dINF.jsp.body_jsp._jspx_meth_c_005fif_005f1(bod
>> y_js
>> p.java:554) at
>> org.apache.jsp.WEB_002dINF.jsp.body_jsp._jspx_meth_grouper_005frecord
>> Tile
>> _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:3
>> 13)
>> 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(Appl
>> icat
>> ionFilterChain.java:290) at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilte
>> rChain.java:206) at
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
>> atch
>> er.java:646) at
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
>> ispa
>> tcher.java:551) at
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
>> patc
>> her.java:488) at
>> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary
>> .jav
>> a:968) at
>> org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.jav
>> a:62
>> 4) at
>> org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:10
>> 1)
>> 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(Inser
>> tTag
>> .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_005finse
>> rt_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:3
>> 13)
>> 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(Appl
>> icat
>> ionFilterChain.java:290) at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilte
>> rChain.java:206) at
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
>> atch
>> er.java:646) at
>> org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
>> tion
>> Dispatcher.java:436) at
>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
>> ispa
>> tcher.java:374) at
>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
>> patc
>> her.java:302) at
>> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
>> java
>> :1059) at
>> org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestP
>> roce
>> ssor.java:261) at
>> org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(
>> Tile
>> sRequestProcessor.java:237) at
>> org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ti
>> lesR
>> equestProcessor.java:300) at
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
>> va:2
>> 31) at
>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
>> 4)
>> 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(Appl
>> icat
>> ionFilterChain.java:290) at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilte
>> rChain.java:206) at
>> edu.internet2.middleware.grouper.ui.LoginCheckFilter$1.callback(Login
>> Chec
>> kFilter.java:173) at
>> edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSessio
>> n(Gr
>> ouperSession.java:644) at
>> edu.internet2.middleware.grouper.ui.LoginCheckFilter.doFilter(LoginCh
>> eckF
>> ilter.java:168) at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icat
>> ionFilterChain.java:235) at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilte
>> rChain.java:206) at
>> edu.internet2.middleware.grouper.ui.ErrorFilter.doFilter(ErrorFilter.
>> java
>> :132) at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icat
>> ionFilterChain.java:235) at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilte
>> rChain.java:206) at
>> edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperU
>> iFil
>> ter.java:802) at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icat
>> ionFilterChain.java:235) at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilte
>> rChain.java:206) at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>> alve
>> .java:219) at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
>> alve
>> .java:191) at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
>> torB
>> 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(StandardEngineVal
>> ve.j
>> ava:109) at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
>> a:29
>> 8) at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
>> :859)
>> at
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
>> ss(H
>> ttp11Protocol.java:588) at
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
>> 9)
>> 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
>
>
- RE: [grouper-dev] RE: Mavenizing Grouper UI, (continued)
- 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
Archive powered by MHonArc 2.6.16.