You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by jsona laio <fr...@yahoo.co.uk> on 2004/11/25 17:02:48 UTC

newbie questin on cvs issue of maven

Hi, maven:
I'm interested in learning maven to apply project
development. however, I have a newbie question about
cvs. (I'm not sure weather this is a suitable place to
ask my question, if not; I applogize it!)
the question is - if I have a simple project (product)
of which the source code can be divided into 2
different segemanet. one is for standard version, the
other for customized (clients). For instance, we make
use of webwork as our front end framework, in which we
have view.properties of two version; where there's
line like 
===========VERSION 1==========BEG
doit.action=FirstversionAction
....
===========VERSION 1==========END
===========VERSION 2==========BEG
doit.action=SecondversionAction
....
===========VERSION 2==========END
Is it possible to use maven to merge this two version
? or what is a better strategy to approach it?
I appreciate any suggestion, sincerely
Jason



		
___________________________________________________________ 
Moving house? Beach bar in Thailand? New Wardrobe? Win £10k with Yahoo! Mail to make your dream a reality. 
Get Yahoo! Mail www.yahoo.co.uk/10k

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Question about cvs directory layout and Maven project directory layout

Posted by Martijn Dashorst <ma...@dashorst.dds.nl>.
Hi,

The repository connection(s) you define in the project.xml are there for
2 (or possibly more) reasons:
1. documentation -> when you generate the site, a web page is created to
show interested developers where to get the source
2. source code management -> several plugins allow actions to be taken
using the repository connections.

ad 1.
It is very nice to know how to get the source, or how to browse the
source. See this kind of pages like the project summaries of projects
hosted on sourceforge:
- list of developers
- mailinglists
- license
- sourcecode repository
- etc.

ad 2.
Most notably, the SCM plugin utilizes the connection strings (). It is
possible to update your project (scm:update-project), or to prepare and
perform a release. Best way is to look at the plugin itself, even though
the documentation is not up to standards.

As for the project layout: normally you will only commit the
project.xml, maven.xml, project.properties files, and src directory to
CVS (or whatever SCM you use). Especially the target subdirectory should
be added to a .cvsignore file in order to disregard changes to that
directory (very frequently).

Martijn

trincermail-maven@yahoo.com.cn wrote:

>Again, any body can be kindly to give me an
>explanation?
> --- trincermail-maven@yahoo.com.cn 的正文:
>  
>
>>hi,
>>I've generated a simple project using commannd:
>>"maven
>>genapp". in the file project.xml, i noticed there is
>>an entry that's is about cvs repository.connection. 
>>
>>I don't know  how  maven deals with the cvs
>>repository.  Will maven checkout from cvs repository
>>before building? 
>>Is there any restriction in how to layout the cvs
>>repository to match the maven project directory
>>layout?
>>    
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Question about cvs directory layout and Maven project directory layout

Posted by tr...@yahoo.com.cn.
Again, any body can be kindly to give me an
explanation?
 --- trincermail-maven@yahoo.com.cn 的正文:
> hi,
> I've generated a simple project using commannd:
> "maven
> genapp". in the file project.xml, i noticed there is
> an entry that's is about cvs repository.connection. 
> 
> I don't know  how  maven deals with the cvs
> repository.  Will maven checkout from cvs repository
> before building? 
> Is there any restriction in how to layout the cvs
> repository to match the maven project directory
> layout?
> 
> Thanks alot !
> 
>
_________________________________________________________
> Do You Yahoo!?
> 150万曲MP3疯狂搜,带您闯入音乐殿堂
> http://music.yisou.com/
> 美女明星应有尽有,搜遍美图、艳图和酷图
> http://image.yisou.com
> 1G就是1000兆,雅虎电邮自助扩容!
>
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
> users-help@maven.apache.org
> 
>  

_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Question about cvs directory layout and Maven project directory layout

Posted by tr...@yahoo.com.cn.
hi,
I've generated a simple project using commannd: "maven
genapp". in the file project.xml, i noticed there is
an entry that's is about cvs repository.connection. 

I don't know  how  maven deals with the cvs
repository.  Will maven checkout from cvs repository
before building? 
Is there any restriction in how to layout the cvs
repository to match the maven project directory
layout?

Thanks alot !

_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org