Hi Wayne,
Thanks for your suggestion, I'll have a try.

a cup of Java, cheers!
Sha Jiang


Wayne Fay wrote:
> 
> Looking at the link you sent, it seems to me that Maven has
> incorporated many of the Sun recommendations into their own directory
> structures. Also, you can configure directories etc manually in the
> pom and not rely on standards/conventions/defaults. So I'm not sure
> that one is exclusive of the other.
> 
> The only immediately obvious difference is that Maven does not require
> a multi-level hierarchy as suggested by Sun. Instead, you can use
> whatever kind of filesystem structure you might like, and then use
> dependencies etc to bring in submodules etc to eventually build up a
> larger project (ie WAR or EAR).
> 
> Wayne
> 
> On 10/28/06, jiangshachina <[EMAIL PROTECTED]> wrote:
>>
>> Hi Adrian,
>> Thanks for your reply.
>> I see a Sun recommended Java EE project directory structure, the link is
>> following,
>>  http://java.sun.com/blueprints/code/projectconventions.html
>>
>> How can I make a balance between the Sun recommend directory structure
>> and
>> Maven standard directory structure.
>> Or I don't refer to Sun recommend directory structure, if I want to use
>> Maven.
>>
>> a cup of Java, cheers!
>> Sha Jiang
>>
>>
>> Adrian Shum-2 wrote:
>> >
>> > Please refer to section of Resource filtering for use of
>> src/main/filters.
>> > It is something ilke 'merging' your resources with some filters.
>> > You can put environment-specific settings in filters, and depends on
>> > your profile setting, create 'final' resources from your resources and
>> > your choice form the filters.
>> >
>> > For src/main/assembly, please find for info for Assembly plugin.
>> > Assembly It is something related to creating a assebly for use of
>> > real deployment.  Under that directory, definitions of assembly are
>> > put.
>> >
>> > Adrian
>> >
>> > -----Original Message-----
>> > From: jiangshachina [mailto:[EMAIL PROTECTED]
>> > Sent: Friday, October 27, 2006 7:04 PM
>> > To: [email protected]
>> > Subject: Puzzles on Standard Directory Structure?
>> >
>> >
>> >
>> > Mergere's book "Better Builds with Maven", appendix B.1 "Standard
>> > Directory
>> > Structure".
>> > I don't understand some of directories. For example, src/main/filters
>> and
>> > src/main/assembly.
>> > The descriptions in the book, the former is "Standard location for
>> > resource
>> > filters", and the latter is "Standard location for assembly filters".
>> > May  I have less experience on Web/Java EE application development,
>> then I
>> > can not understand the functions of the directories. Which files should
>> be
>> > put into src/main/filters or src/main/assembly.
>> >
>> > For example, which directory I would put JavaScript files into?
>> >
>> > a cup of Java, cheers!
>> > Sha Jiang
>> > --
>> > View this message in context:
>> >
>> http://www.nabble.com/Puzzles-on-Standard-Directory-Structure--tf2519880.html#a7028194
>> > Sent from the Maven - Users mailing list archive at Nabble.com.
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>> > This email is confidential. If you are not the intended recipient,
>> please
>> > delete it from your system and notify the sender immediately. Any
>> > unauthorized use, disclosure, dissemination or copying of this email is
>> > prohibited. Taifook Securities Group, its group companies and their
>> > content providers ("Parties") shall not be responsible for the accuracy
>> or
>> > completeness of this email or its attachment, if any, which could
>> contain
>> > virus, be corrupted, destroyed, incomplete, intercepted, lost or arrive
>> > late.   The Parites do not accept liability for any damage caused by
>> this
>> > email.
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Puzzles-on-Standard-Directory-Structure--tf2519880.html#a7046216
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Puzzles-on-Standard-Directory-Structure--tf2519880.html#a7057992
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to