History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: APF-716
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Matt Raible
Reporter: Nathan Anderson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

appfuse-modular-struts: App.java and AppTest.java created in wrong folder

Created: 04/Apr/07 01:49 AM   Updated: 15/Jun/07 06:13 PM
Component/s: Installation
Affects Version/s: 2.0-M4
Fix Version/s: None


 Description  « Hide
I'm not really sure what the purpose of the App.java and AppTest.java files are, but there seems to be a problem with them in this archtype. They have package declarations that match the project, but they are in $PROJECT_HOME/web/src/main/java rather than $PROJECT_HOME/web/src/main/java/**/ (replace "main" for "test" in the case of AppTest.java). I did see the following note in Core.java that I'm guessing is mentioning the same problem:

// There is no package since the Maven Archetype plugin doesn't support package expansion
// for multi-module archetypes: http://jira.codehaus.org/browse/ARCHETYPE-23.


 All   Comments   Change History   FishEye      Sort Order:
Matt Raible - 04/Apr/07 02:57 AM
I suppose we could adjust archetype.xml so these aren't included in the modular archetypes. In the basic archetypes, the packages are properly expanded.

Phread - 15/Jun/07 06:13 PM
FWIW, you could use Aaron Anderson's bobber archetype.

Here's an extract from :
http://jira.codehaus.org/browse/ARCHETYPE-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

"To elaborate, I have enhanced the functionality of the archetype implementation to better harness
the versatility of the velocity templating engine. This enhancement could be used to address ARCHETYPE-23 and ARCHETYPE-26.
This enhancement involved creating a new Archetype implementation and tweaking the existing ArchetypeMojo."

Bobber Archetype website :
http://hoho.dyndns.org/mulebuild/1.4.2-SNAPSHOT/mule-tools/bobberplus/usage.html