You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukman (JIRA)" <ji...@apache.org> on 2013/01/28 21:03:14 UTC

[jira] [Commented] (WW-3974) Struts 2 Portlet Archetype Not functioning properly

    [ https://issues.apache.org/jira/browse/WW-3974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13564620#comment-13564620 ] 

Lukman commented on WW-3974:
----------------------------

Lukasz how do you beautify the code part ? 
                
> Struts 2 Portlet Archetype Not functioning properly
> ---------------------------------------------------
>
>                 Key: WW-3974
>                 URL: https://issues.apache.org/jira/browse/WW-3974
>             Project: Struts 2
>          Issue Type: Bug
>         Environment: Linux, netbeans, Intellij IDE, maven
>            Reporter: Lukman
>              Labels: portlet, struts2
>             Fix For: 2.3.9
>
>
> Upon generation of a struts2 portlet project via the archetype(struts2-archetype-portlet) i Have the following in my pom 
> {code:xml}
> <plugin>
>     <groupId>org.mortbay.jetty</groupId>
>     <artifactId>maven-jetty-plugin</artifactId>
>     <version>6.1.21</version>
>     <configuration>
>         <webXml>/Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/archetypes/struts2-archetype-portlet/target/pluto-resources/web.xml</webXml>
>         <webAppConfig>
>             <contextPath>/struts2-archetype-portlet</contextPath>
>             <defaultsDescriptor>/WEB-INF/jetty-pluto-web-default.xml</defaultsDescriptor>
>         </webAppConfig>
>         <systemProperties>
>             <systemProperty>
>                 <name>org.apache.pluto.embedded.portletIds</name>
>                 <value>HelloPortlet</value>
>             </systemProperty>
>         </systemProperties>
>         <scanIntervalSeconds>10</scanIntervalSeconds>
>         <scanTargets>
>             <scanTarget>src/main/webapp/WEB-INF</scanTarget>
>             <scanTarget>src/main/webapp/WEB-INF/web.xml</scanTarget>
>             <scanTarget>src/main/resources/struts.xml</scanTarget>
>         </scanTargets>
>     </configuration>
>     <dependencies>
>         <dependency>
>             <groupId>com.bekk.boss</groupId>
>             <artifactId>maven-jetty-pluto-embedded</artifactId>
>             <version>1.0.1</version>
>         </dependency>
>     </dependencies>
> </plugin> 
> {code}
> The major point is that it still makes reference to the file on your system :D , and package names still remain as $\{package} in the source files.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira