Ant VS MVN in offbiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

Ant VS MVN in offbiz

Ambient Solution
Hi,


I worked on offbiz for four year previously and again I started as some of
my associated recomend to research on it.

I am not sure whether I am asking reight quesiton here or not.

Previously when I was working on offbiz to setup workspace in eclipse , its
a hattick job , Setting classpath is a manual process in eclipse while for
build we use ant build.

Same functionality is provided by Maven  which support boath IDE and duild
creation . Is some one already worked on ant to Maven Migration.

The benifit I seen in MVN you can set dependecy which is required for
perticular project or JAR level not you have set a full folder.
Second benift I found that once you setup your repository on server which is
not a part of your  project ,  It will save space on version server  , Cos
every new branch or project dosent require to copy all jar.

   This process also reduce traffic  on n/w at build time , Cos that time
you dont have to download jar again , MVN download only new or updated jar .

If is there any one who worked on the same thing , Please help me.

Regards,
Sumit
Solution Architect
+91-9221182885
Reply | Threaded
Open this post in threaded view
|

Re: Ant VS MVN in offbiz

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

we use subversion which is part of the apache foundation respository
there is an eclipse plugin
http://subversion.tigris.org/
also read this
http://docs.ofbiz.org/display/OFBIZ/SVN+Tips+-+MS+Vendor+Branch

Ambient Solution sent the following on 3/13/2009 7:12 PM:

> Hi,
>
>
> I worked on offbiz for four year previously and again I started as some of
> my associated recomend to research on it.
>
> I am not sure whether I am asking reight quesiton here or not.
>
> Previously when I was working on offbiz to setup workspace in eclipse , its
> a hattick job , Setting classpath is a manual process in eclipse while for
> build we use ant build.
>
> Same functionality is provided by Maven  which support boath IDE and duild
> creation . Is some one already worked on ant to Maven Migration.
>
> The benifit I seen in MVN you can set dependecy which is required for
> perticular project or JAR level not you have set a full folder.
> Second benift I found that once you setup your repository on server which is
> not a part of your  project ,  It will save space on version server  , Cos
> every new branch or project dosent require to copy all jar.
>
>    This process also reduce traffic  on n/w at build time , Cos that time
> you dont have to download jar again , MVN download only new or updated jar .
>
> If is there any one who worked on the same thing , Please help me.
>
> Regards,
> Sumit
> Solution Architect
> +91-9221182885
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJuxnPrP3NbaWWqE4RAkjwAJ4jQhEUkm/VtJTb/Xf2dGJHgOPQHQCfZy8S
1yZc0XUc6G1t58AhigRUVKc=
=pQ15
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Ant VS MVN in offbiz

Ambient Solution
Hi,

This is not a quesiton about subversion , Original quesiton is for  build
process.

Regards,
Sumit
Solution Architect
Pune
+91-9221182885



On Sat, Mar 14, 2009 at 8:13 AM, BJ Freeman <[hidden email]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> we use subversion which is part of the apache foundation respository
> there is an eclipse plugin
> http://subversion.tigris.org/
> also read this
> http://docs.ofbiz.org/display/OFBIZ/SVN+Tips+-+MS+Vendor+Branch
>
> Ambient Solution sent the following on 3/13/2009 7:12 PM:
>  > Hi,
> >
> >
> > I worked on offbiz for four year previously and again I started as some
> of
> > my associated recomend to research on it.
> >
> > I am not sure whether I am asking reight quesiton here or not.
> >
> > Previously when I was working on offbiz to setup workspace in eclipse ,
> its
> > a hattick job , Setting classpath is a manual process in eclipse while
> for
> > build we use ant build.
> >
> > Same functionality is provided by Maven  which support boath IDE and
> duild
> > creation . Is some one already worked on ant to Maven Migration.
> >
> > The benifit I seen in MVN you can set dependecy which is required for
> > perticular project or JAR level not you have set a full folder.
> > Second benift I found that once you setup your repository on server which
> is
> > not a part of your  project ,  It will save space on version server  ,
> Cos
> > every new branch or project dosent require to copy all jar.
> >
> >    This process also reduce traffic  on n/w at build time , Cos that time
> > you dont have to download jar again , MVN download only new or updated
> jar .
> >
> > If is there any one who worked on the same thing , Please help me.
> >
> > Regards,
> > Sumit
> > Solution Architect
> > +91-9221182885
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJuxnPrP3NbaWWqE4RAkjwAJ4jQhEUkm/VtJTb/Xf2dGJHgOPQHQCfZy8S
> 1yZc0XUc6G1t58AhigRUVKc=
> =pQ15
> -----END PGP SIGNATURE-----
>
Reply | Threaded
Open this post in threaded view
|

Re: Ant VS MVN in offbiz

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ok ofbiz uses Ant
there is a build.xml for every component, and one for to build everything.
have not seen any discussion lately about maven.

Ambient Solution sent the following on 3/13/2009 7:53 PM:

> Hi,
>
> This is not a quesiton about subversion , Original quesiton is for  build
> process.
>
> Regards,
> Sumit
> Solution Architect
> Pune
> +91-9221182885
>
>
>
> On Sat, Mar 14, 2009 at 8:13 AM, BJ Freeman <[hidden email]> wrote:
>
> we use subversion which is part of the apache foundation respository
> there is an eclipse plugin
> http://subversion.tigris.org/
> also read this
> http://docs.ofbiz.org/display/OFBIZ/SVN+Tips+-+MS+Vendor+Branch
>
> Ambient Solution sent the following on 3/13/2009 7:12 PM:
>  > Hi,
>>>>
>>>> I worked on offbiz for four year previously and again I started as some
> of
>>>> my associated recomend to research on it.
>>>>
>>>> I am not sure whether I am asking reight quesiton here or not.
>>>>
>>>> Previously when I was working on offbiz to setup workspace in eclipse ,
> its
>>>> a hattick job , Setting classpath is a manual process in eclipse while
> for
>>>> build we use ant build.
>>>>
>>>> Same functionality is provided by Maven  which support boath IDE and
> duild
>>>> creation . Is some one already worked on ant to Maven Migration.
>>>>
>>>> The benifit I seen in MVN you can set dependecy which is required for
>>>> perticular project or JAR level not you have set a full folder.
>>>> Second benift I found that once you setup your repository on server which
> is
>>>> not a part of your  project ,  It will save space on version server  ,
> Cos
>>>> every new branch or project dosent require to copy all jar.
>>>>
>>>>    This process also reduce traffic  on n/w at build time , Cos that time
>>>> you dont have to download jar again , MVN download only new or updated
> jar .
>>>> If is there any one who worked on the same thing , Please help me.
>>>>
>>>> Regards,
>>>> Sumit
>>>> Solution Architect
>>>> +91-9221182885
>>>>
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJux1hrP3NbaWWqE4RAi96AKCR0Vom/l+E9lr4zVvVdzYhMGmL/gCgyD3x
LuTfzScUu3mbusCSdIX60fg=
=sYkt
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Ant VS MVN in offbiz

Ambient Solution
build.xml is fine when you want to deploy the project , but as a devloper
prospective when you want to setup workspace , it is very time consuming
process.

Regards,
Sumit
Solution Architect
Pune
+91-9221182885


On Sat, Mar 14, 2009 at 8:28 AM, BJ Freeman <[hidden email]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> ok ofbiz uses Ant
> there is a build.xml for every component, and one for to build everything.
> have not seen any discussion lately about maven.
>
> Ambient Solution sent the following on 3/13/2009 7:53 PM:
> > Hi,
> >
> > This is not a quesiton about subversion , Original quesiton is for  build
> > process.
> >
> > Regards,
> > Sumit
> > Solution Architect
> > Pune
> > +91-9221182885
> >
> >
> >
> > On Sat, Mar 14, 2009 at 8:13 AM, BJ Freeman <[hidden email]> wrote:
> >
>  > we use subversion which is part of the apache foundation respository
> > there is an eclipse plugin
> > http://subversion.tigris.org/
> > also read this
> > http://docs.ofbiz.org/display/OFBIZ/SVN+Tips+-+MS+Vendor+Branch
> >
> > Ambient Solution sent the following on 3/13/2009 7:12 PM:
> >  > Hi,
> >>>>
> >>>> I worked on offbiz for four year previously and again I started as
> some
> > of
> >>>> my associated recomend to research on it.
> >>>>
> >>>> I am not sure whether I am asking reight quesiton here or not.
> >>>>
> >>>> Previously when I was working on offbiz to setup workspace in eclipse
> ,
> > its
> >>>> a hattick job , Setting classpath is a manual process in eclipse while
> > for
> >>>> build we use ant build.
> >>>>
> >>>> Same functionality is provided by Maven  which support boath IDE and
> > duild
> >>>> creation . Is some one already worked on ant to Maven Migration.
> >>>>
> >>>> The benifit I seen in MVN you can set dependecy which is required for
> >>>> perticular project or JAR level not you have set a full folder.
> >>>> Second benift I found that once you setup your repository on server
> which
> > is
> >>>> not a part of your  project ,  It will save space on version server  ,
> > Cos
> >>>> every new branch or project dosent require to copy all jar.
> >>>>
> >>>>    This process also reduce traffic  on n/w at build time , Cos that
> time
> >>>> you dont have to download jar again , MVN download only new or updated
> > jar .
> >>>> If is there any one who worked on the same thing , Please help me.
> >>>>
> >>>> Regards,
> >>>> Sumit
> >>>> Solution Architect
> >>>> +91-9221182885
> >>>>
> >>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJux1hrP3NbaWWqE4RAi96AKCR0Vom/l+E9lr4zVvVdzYhMGmL/gCgyD3x
> LuTfzScUu3mbusCSdIX60fg=
> =sYkt
> -----END PGP SIGNATURE-----
>



--
Reply | Threaded
Open this post in threaded view
|

Re: Ant VS MVN in offbiz

Ashish Vijaywargiya-5
Hello Sumit,

Inline :

Ambient Solution wrote:
> build.xml is fine when you want to deploy the project , but as a devloper
> prospective when you want to setup workspace , it is very time consuming
> process.
>  
I am not agree on your point that setting up workspace is time consuming
process.
I can setup workspace in only 10 minutes.

Can you please elaborate more why its time consuming for you ?
Are you using Old PC ?

--
Ashish

> Regards,
> Sumit
> Solution Architect
> Pune
> +91-9221182885
>
>
> On Sat, Mar 14, 2009 at 8:28 AM, BJ Freeman <[hidden email]> wrote:
>
>  
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> ok ofbiz uses Ant
>> there is a build.xml for every component, and one for to build everything.
>> have not seen any discussion lately about maven.
>>
>> Ambient Solution sent the following on 3/13/2009 7:53 PM:
>>    
>>> Hi,
>>>
>>> This is not a quesiton about subversion , Original quesiton is for  build
>>> process.
>>>
>>> Regards,
>>> Sumit
>>> Solution Architect
>>> Pune
>>> +91-9221182885
>>>
>>>
>>>
>>> On Sat, Mar 14, 2009 at 8:13 AM, BJ Freeman <[hidden email]> wrote:
>>>
>>>      
>>  > we use subversion which is part of the apache foundation respository
>>    
>>> there is an eclipse plugin
>>> http://subversion.tigris.org/
>>> also read this
>>> http://docs.ofbiz.org/display/OFBIZ/SVN+Tips+-+MS+Vendor+Branch
>>>
>>> Ambient Solution sent the following on 3/13/2009 7:12 PM:
>>>  > Hi,
>>>      
>>>>>> I worked on offbiz for four year previously and again I started as
>>>>>>            
>> some
>>    
>>> of
>>>      
>>>>>> my associated recomend to research on it.
>>>>>>
>>>>>> I am not sure whether I am asking reight quesiton here or not.
>>>>>>
>>>>>> Previously when I was working on offbiz to setup workspace in eclipse
>>>>>>            
>> ,
>>    
>>> its
>>>      
>>>>>> a hattick job , Setting classpath is a manual process in eclipse while
>>>>>>            
>>> for
>>>      
>>>>>> build we use ant build.
>>>>>>
>>>>>> Same functionality is provided by Maven  which support boath IDE and
>>>>>>            
>>> duild
>>>      
>>>>>> creation . Is some one already worked on ant to Maven Migration.
>>>>>>
>>>>>> The benifit I seen in MVN you can set dependecy which is required for
>>>>>> perticular project or JAR level not you have set a full folder.
>>>>>> Second benift I found that once you setup your repository on server
>>>>>>            
>> which
>>    
>>> is
>>>      
>>>>>> not a part of your  project ,  It will save space on version server  ,
>>>>>>            
>>> Cos
>>>      
>>>>>> every new branch or project dosent require to copy all jar.
>>>>>>
>>>>>>    This process also reduce traffic  on n/w at build time , Cos that
>>>>>>            
>> time
>>    
>>>>>> you dont have to download jar again , MVN download only new or updated
>>>>>>            
>>> jar .
>>>      
>>>>>> If is there any one who worked on the same thing , Please help me.
>>>>>>
>>>>>> Regards,
>>>>>> Sumit
>>>>>> Solution Architect
>>>>>> +91-9221182885
>>>>>>
>>>>>>            
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iD8DBQFJux1hrP3NbaWWqE4RAi96AKCR0Vom/l+E9lr4zVvVdzYhMGmL/gCgyD3x
>> LuTfzScUu3mbusCSdIX60fg=
>> =sYkt
>> -----END PGP SIGNATURE-----
>>
>>    
>
>
>
> --
>
>  

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Ant VS MVN in offbiz

Ashish Vijaywargiya-5
In reply to this post by Ambient Solution
Hello Sumit,

Inline

Ambient Solution wrote:
Hi,


I worked on offbiz for four year previously and again I started as some of
my associated recomend to research on it.

I am not sure whether I am asking reight quesiton here or not.

Previously when I was working on offbiz to setup workspace in eclipse , its
a hattick job , Setting classpath is a manual process in eclipse while for
build we use ant build.

Same functionality is provided by Maven  which support boath IDE and duild
creation . Is some one already worked on ant to Maven Migration.

The benifit I seen in MVN you can set dependecy which is required for
perticular project or JAR level not you have set a full folder.
Second benift I found that once you setup your repository on server which is
not a part of your  project ,  It will save space on version server  , Cos
every new branch or project dosent require to copy all jar.
  
I agree that most of the things that Ant do can be done by Maven.
There are following reason for not using Maven.

1) Ant started in July 19, 2000 & Maven started in 2002. And we all know that OFBiz has started in 2001. At that time we were having Ant for project build purpose.
All the requirements are fulfilled by Ant so nobody complained about exploring or using Maven.
2) We don't have licensing issues with either Maven or Ant as both are project of ASF. So it depend on the community members to decide what to use.

More comment from an Article available on internet :

--------------------------------------------------------------
Historically Ant is much older tool and it was deigned to have some Java-based build tool. Something similar to Make which most of C++ developers use. Those who worked with Make probably know that is extremely powerful tool which can do whatever developer wants.

Ant is different. Instead of a model where it is extended with shell-based commands, Ant is extended using Java classes. Instead of writing shell commands, the configuration files are XML-based, The power of Ant in practice results that you have to setup build process yourself. Each project can have different build process. New team members have to study this version of build which is probably they used to have in another project.

Maven (Maven)on another hand wants a standard way to build the projects, a clear definition of what the project consisted of, an easy way to publish project information and a way to share JARs across several projects.

Important One :
Maven does encourage best practices and some people can prefer Ant. Maven is less flexible than Ant and you have to be agree with making of some compromises.  
------------------------------------------------------------------

You are looking interested in exploring possibility with the Maven.
I will appreciate your help in this area and you can upload the document for community at http://docs.ofbiz.org/dashboard.action.

Thanks !

--
Ashish

   This process also reduce traffic  on n/w at build time , Cos that time
you dont have to download jar again , MVN download only new or updated jar .

If is there any one who worked on the same thing , Please help me.

Regards,
Sumit
Solution Architect
+91-9221182885

  

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Ant VS MVN in offbiz

BJ Freeman
In reply to this post by Ambient Solution
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Build is not used to deploy but to compile code and run the application
for development, IMHO, so I am confused by your statement.

What type of workspace do you want to use that this can not be used,
efficiently?

Ambient Solution sent the following on 3/13/2009 8:01 PM:

> build.xml is fine when you want to deploy the project , but as a devloper
> prospective when you want to setup workspace , it is very time consuming
> process.
>
> Regards,
> Sumit
> Solution Architect
> Pune
> +91-9221182885
>
>
> On Sat, Mar 14, 2009 at 8:28 AM, BJ Freeman <[hidden email]> wrote:
>
> ok ofbiz uses Ant
> there is a build.xml for every component, and one for to build everything.
> have not seen any discussion lately about maven.
>
> Ambient Solution sent the following on 3/13/2009 7:53 PM:
>>>> Hi,
>>>>
>>>> This is not a quesiton about subversion , Original quesiton is for  build
>>>> process.
>>>>
>>>> Regards,
>>>> Sumit
>>>> Solution Architect
>>>> Pune
>>>> +91-9221182885
>>>>
>>>>
>>>>
>>>> On Sat, Mar 14, 2009 at 8:13 AM, BJ Freeman <[hidden email]> wrote:
>>>>
>  > we use subversion which is part of the apache foundation respository
>>>> there is an eclipse plugin
>>>> http://subversion.tigris.org/
>>>> also read this
>>>> http://docs.ofbiz.org/display/OFBIZ/SVN+Tips+-+MS+Vendor+Branch
>>>>
>>>> Ambient Solution sent the following on 3/13/2009 7:12 PM:
>>>>  > Hi,
>>>>>>> I worked on offbiz for four year previously and again I started as
> some
>>>> of
>>>>>>> my associated recomend to research on it.
>>>>>>>
>>>>>>> I am not sure whether I am asking reight quesiton here or not.
>>>>>>>
>>>>>>> Previously when I was working on offbiz to setup workspace in eclipse
> ,
>>>> its
>>>>>>> a hattick job , Setting classpath is a manual process in eclipse while
>>>> for
>>>>>>> build we use ant build.
>>>>>>>
>>>>>>> Same functionality is provided by Maven  which support boath IDE and
>>>> duild
>>>>>>> creation . Is some one already worked on ant to Maven Migration.
>>>>>>>
>>>>>>> The benifit I seen in MVN you can set dependecy which is required for
>>>>>>> perticular project or JAR level not you have set a full folder.
>>>>>>> Second benift I found that once you setup your repository on server
> which
>>>> is
>>>>>>> not a part of your  project ,  It will save space on version server  ,
>>>> Cos
>>>>>>> every new branch or project dosent require to copy all jar.
>>>>>>>
>>>>>>>    This process also reduce traffic  on n/w at build time , Cos that
> time
>>>>>>> you dont have to download jar again , MVN download only new or updated
>>>> jar .
>>>>>>> If is there any one who worked on the same thing , Please help me.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Sumit
>>>>>>> Solution Architect
>>>>>>> +91-9221182885
>>>>>>>
>>

> --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJu1OQrP3NbaWWqE4RAilFAJwNCm0eJX7K/GRaCIONzDdQMy4BHgCeJdPr
CWHUg7hpK4CgE4ihBDnGyTo=
=jAPv
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Ant VS MVN in offbiz

Shi Jinghai
In reply to this post by Ambient Solution
Many people here can understand your feeling and have the same feeling.
Obviously maven is better when you're crazy for so many projects and
deployment to maintain.

We'll try to do something in this area as we are mavening our source
code now. We'll setup maven2.langhua.org to play the role of OFBiz
maven2 repository.

What is the main problem now is OFBiz is not version released, it's
difficult to decide which trunk version should be put into repository.

Anyway, we'll set it up in 2009. Hope it's not too late for you :).

Regards,

Shi Jinghai/Beijing Langhua Ltd.


在 2009-03-14六的 07:42 +0530,Ambient Solution写道:

> Hi,
>
>
> I worked on offbiz for four year previously and again I started as some of
> my associated recomend to research on it.
>
> I am not sure whether I am asking reight quesiton here or not.
>
> Previously when I was working on offbiz to setup workspace in eclipse , its
> a hattick job , Setting classpath is a manual process in eclipse while for
> build we use ant build.
>
> Same functionality is provided by Maven  which support boath IDE and duild
> creation . Is some one already worked on ant to Maven Migration.
>
> The benifit I seen in MVN you can set dependecy which is required for
> perticular project or JAR level not you have set a full folder.
> Second benift I found that once you setup your repository on server which is
> not a part of your  project ,  It will save space on version server  , Cos
> every new branch or project dosent require to copy all jar.
>
>    This process also reduce traffic  on n/w at build time , Cos that time
> you dont have to download jar again , MVN download only new or updated jar .
>
> If is there any one who worked on the same thing , Please help me.
>
> Regards,
> Sumit
> Solution Architect
> +91-9221182885

Reply | Threaded
Open this post in threaded view
|

Re: Ant VS MVN in offbiz

Ambient Solution
In reply to this post by Ashish Vijaywargiya-5
HI Ashish,


Setup a workspace using manual process is fine even it take 5 minut but you
cant compare it with automated process.  But MVN provide you automated
process to setup your workspace.

Through MVN  process you can set only those jar which is required for a
perticular project not all jar.

 --
Regards,
Sumit
Solution Architect
Pune
+91-9221182885


On Sat, Mar 14, 2009 at 11:48 AM, Ashish Vijaywargiya <
[hidden email]> wrote:

> Hello Sumit,
>
> Inline :
>
> Ambient Solution wrote:
>
>> build.xml is fine when you want to deploy the project , but as a devloper
>> prospective when you want to setup workspace , it is very time consuming
>> process.
>>
>>
> I am not agree on your point that setting up workspace is time consuming
> process.
> I can setup workspace in only 10 minutes.
>
> Can you please elaborate more why its time consuming for you ?
> Are you using Old PC ?
>
> --
> Ashish
>
> Regards,
>> Sumit
>> Solution Architect
>> Pune
>> +91-9221182885
>>
>>
>> On Sat, Mar 14, 2009 at 8:28 AM, BJ Freeman <[hidden email]> wrote:
>>
>>
>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> ok ofbiz uses Ant
>>> there is a build.xml for every component, and one for to build
>>> everything.
>>> have not seen any discussion lately about maven.
>>>
>>> Ambient Solution sent the following on 3/13/2009 7:53 PM:
>>>
>>>
>>>> Hi,
>>>>
>>>> This is not a quesiton about subversion , Original quesiton is for
>>>>  build
>>>> process.
>>>>
>>>> Regards,
>>>> Sumit
>>>> Solution Architect
>>>> Pune
>>>> +91-9221182885
>>>>
>>>>
>>>>
>>>> On Sat, Mar 14, 2009 at 8:13 AM, BJ Freeman <[hidden email]>
>>>> wrote:
>>>>
>>>>
>>>>
>>>  > we use subversion which is part of the apache foundation respository
>>>
>>>
>>>> there is an eclipse plugin
>>>> http://subversion.tigris.org/
>>>> also read this
>>>> http://docs.ofbiz.org/display/OFBIZ/SVN+Tips+-+MS+Vendor+Branch
>>>>
>>>> Ambient Solution sent the following on 3/13/2009 7:12 PM:
>>>>  > Hi,
>>>>
>>>>
>>>>>  I worked on offbiz for four year previously and again I started as
>>>>>>>
>>>>>>>
>>>>>> some
>>>
>>>
>>>> of
>>>>
>>>>
>>>>>  my associated recomend to research on it.
>>>>>>>
>>>>>>> I am not sure whether I am asking reight quesiton here or not.
>>>>>>>
>>>>>>> Previously when I was working on offbiz to setup workspace in eclipse
>>>>>>>
>>>>>>>
>>>>>> ,
>>>
>>>
>>>> its
>>>>
>>>>
>>>>>  a hattick job , Setting classpath is a manual process in eclipse
>>>>>>> while
>>>>>>>
>>>>>>>
>>>>>> for
>>>>
>>>>
>>>>>  build we use ant build.
>>>>>>>
>>>>>>> Same functionality is provided by Maven  which support boath IDE and
>>>>>>>
>>>>>>>
>>>>>> duild
>>>>
>>>>
>>>>>  creation . Is some one already worked on ant to Maven Migration.
>>>>>>>
>>>>>>> The benifit I seen in MVN you can set dependecy which is required for
>>>>>>> perticular project or JAR level not you have set a full folder.
>>>>>>> Second benift I found that once you setup your repository on server
>>>>>>>
>>>>>>>
>>>>>> which
>>>
>>>
>>>> is
>>>>
>>>>
>>>>>  not a part of your  project ,  It will save space on version server
>>>>>>>  ,
>>>>>>>
>>>>>>>
>>>>>> Cos
>>>>
>>>>
>>>>>  every new branch or project dosent require to copy all jar.
>>>>>>>
>>>>>>>   This process also reduce traffic  on n/w at build time , Cos that
>>>>>>>
>>>>>>>
>>>>>> time
>>>
>>>
>>>>  you dont have to download jar again , MVN download only new or updated
>>>>>>>
>>>>>>>
>>>>>> jar .
>>>>
>>>>
>>>>>  If is there any one who worked on the same thing , Please help me.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Sumit
>>>>>>> Solution Architect
>>>>>>> +91-9221182885
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG v1.4.6 (MingW32)
>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>>
>>> iD8DBQFJux1hrP3NbaWWqE4RAi96AKCR0Vom/l+E9lr4zVvVdzYhMGmL/gCgyD3x
>>> LuTfzScUu3mbusCSdIX60fg=
>>> =sYkt
>>> -----END PGP SIGNATURE-----
>>>
>>>
>>>
>>
>>
>>
>> --
>>
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Ant VS MVN in offbiz

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am not against Maven but i don't understand why the statement about
only those jars is stated.

This is already accomplished not only the way Tomcat uses Jars but how
the structure built into ofbiz is done, without ant or maven.

So if maven can take the ofbiz as it comes from the repository, and make
a project out of it that would seem to allow maven and ant to work side
by side.

The current repository has files that support a couple development
environment, So there maybe a way to include the maven files that can be
 supported that once downloaded would allow you to use maven.


Ambient Solution sent the following on 3/14/2009 8:59 AM:

> HI Ashish,
>
>
> Setup a workspace using manual process is fine even it take 5 minut but you
> cant compare it with automated process.  But MVN provide you automated
> process to setup your workspace.
>
> Through MVN  process you can set only those jar which is required for a
> perticular project not all jar.
>
>  --
> Regards,
> Sumit
> Solution Architect
> Pune
> +91-9221182885
>
>
> On Sat, Mar 14, 2009 at 11:48 AM, Ashish Vijaywargiya <
> [hidden email]> wrote:
>
>> Hello Sumit,
>>
>> Inline :
>>
>> Ambient Solution wrote:
>>
>>> build.xml is fine when you want to deploy the project , but as a devloper
>>> prospective when you want to setup workspace , it is very time consuming
>>> process.
>>>
>>>
>> I am not agree on your point that setting up workspace is time consuming
>> process.
>> I can setup workspace in only 10 minutes.
>>
>> Can you please elaborate more why its time consuming for you ?
>> Are you using Old PC ?
>>
>> --
>> Ashish
>>
>> Regards,
>>> Sumit
>>> Solution Architect
>>> Pune
>>> +91-9221182885
>>>
>>>
>>> On Sat, Mar 14, 2009 at 8:28 AM, BJ Freeman <[hidden email]> wrote:
>>>
>>>
>>>
> ok ofbiz uses Ant
> there is a build.xml for every component, and one for to build
> everything.
> have not seen any discussion lately about maven.
>
> Ambient Solution sent the following on 3/13/2009 7:53 PM:
>
>
>>>>>> Hi,
>>>>>>
>>>>>> This is not a quesiton about subversion , Original quesiton is for
>>>>>>  build
>>>>>> process.
>>>>>>
>>>>>> Regards,
>>>>>> Sumit
>>>>>> Solution Architect
>>>>>> Pune
>>>>>> +91-9221182885
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sat, Mar 14, 2009 at 8:13 AM, BJ Freeman <[hidden email]>
>>>>>> wrote:
>>>>>>
>>>>>>
>>>>>>
>  > we use subversion which is part of the apache foundation respository
>
>
>>>>>> there is an eclipse plugin
>>>>>> http://subversion.tigris.org/
>>>>>> also read this
>>>>>> http://docs.ofbiz.org/display/OFBIZ/SVN+Tips+-+MS+Vendor+Branch
>>>>>>
>>>>>> Ambient Solution sent the following on 3/13/2009 7:12 PM:
>>>>>>  > Hi,
>>>>>>
>>>>>>
>>>>>>>  I worked on offbiz for four year previously and again I started as
>>>>>>>>>
>>>>>>>> some
>
>>>>>> of
>>>>>>
>>>>>>
>>>>>>>  my associated recomend to research on it.
>>>>>>>>> I am not sure whether I am asking reight quesiton here or not.
>>>>>>>>>
>>>>>>>>> Previously when I was working on offbiz to setup workspace in eclipse
>>>>>>>>>
>>>>>>>>>
>>>>>>>> ,
>
>>>>>> its
>>>>>>
>>>>>>
>>>>>>>  a hattick job , Setting classpath is a manual process in eclipse
>>>>>>>>> while
>>>>>>>>>
>>>>>>>>>
>>>>>>>> for
>>>>>>
>>>>>>>  build we use ant build.
>>>>>>>>> Same functionality is provided by Maven  which support boath IDE and
>>>>>>>>>
>>>>>>>>>
>>>>>>>> duild
>>>>>>
>>>>>>>  creation . Is some one already worked on ant to Maven Migration.
>>>>>>>>> The benifit I seen in MVN you can set dependecy which is required for
>>>>>>>>> perticular project or JAR level not you have set a full folder.
>>>>>>>>> Second benift I found that once you setup your repository on server
>>>>>>>>>
>>>>>>>>>
>>>>>>>> which
>
>>>>>> is
>>>>>>
>>>>>>
>>>>>>>  not a part of your  project ,  It will save space on version server
>>>>>>>>>  ,
>>>>>>>>>
>>>>>>>>>
>>>>>>>> Cos
>>>>>>
>>>>>>>  every new branch or project dosent require to copy all jar.
>>>>>>>>>   This process also reduce traffic  on n/w at build time , Cos that
>>>>>>>>>
>>>>>>>>>
>>>>>>>> time
>
>>>>>>  you dont have to download jar again , MVN download only new or updated
>>>>>>>>>
>>>>>>>> jar .
>>>>>>
>>>>>>>  If is there any one who worked on the same thing , Please help me.
>>>>>>>>> Regards,
>>>>>>>>> Sumit
>>>>>>>>> Solution Architect
>>>>>>>>> +91-9221182885
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>

>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>>
>>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJu+BrrP3NbaWWqE4RAvJZAJoC7QABBZXxApdAV9HnKzhL5OggLACfWgwj
Bb8McVEKIRn+E8XfYSRHVIU=
=0rUE
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Ant VS MVN in offbiz

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I should add that it would take a comniter with a daily access to keep
the maven files updated with commits that happen.
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices

BJ Freeman sent the following on 3/14/2009 9:50 AM:

> I am not against Maven but i don't understand why the statement about
> only those jars is stated.
>
> This is already accomplished not only the way Tomcat uses Jars but how
> the structure built into ofbiz is done, without ant or maven.
>
> So if maven can take the ofbiz as it comes from the repository, and make
> a project out of it that would seem to allow maven and ant to work side
> by side.
>
> The current repository has files that support a couple development
> environment, So there maybe a way to include the maven files that can be
>  supported that once downloaded would allow you to use maven.
>
>
> Ambient Solution sent the following on 3/14/2009 8:59 AM:
>> HI Ashish,
>
>
>> Setup a workspace using manual process is fine even it take 5 minut but you
>> cant compare it with automated process.  But MVN provide you automated
>> process to setup your workspace.
>
>> Through MVN  process you can set only those jar which is required for a
>> perticular project not all jar.
>
>>  --
>> Regards,
>> Sumit
>> Solution Architect
>> Pune
>> +91-9221182885
>
>
>> On Sat, Mar 14, 2009 at 11:48 AM, Ashish Vijaywargiya <
>> [hidden email]> wrote:
>
>>> Hello Sumit,
>>>
>>> Inline :
>>>
>>> Ambient Solution wrote:
>>>
>>>> build.xml is fine when you want to deploy the project , but as a devloper
>>>> prospective when you want to setup workspace , it is very time consuming
>>>> process.
>>>>
>>>>
>>> I am not agree on your point that setting up workspace is time consuming
>>> process.
>>> I can setup workspace in only 10 minutes.
>>>
>>> Can you please elaborate more why its time consuming for you ?
>>> Are you using Old PC ?
>>>
>>> --
>>> Ashish
>>>
>>> Regards,
>>>> Sumit
>>>> Solution Architect
>>>> Pune
>>>> +91-9221182885
>>>>
>>>>
>>>> On Sat, Mar 14, 2009 at 8:28 AM, BJ Freeman <[hidden email]> wrote:
>>>>
>>>>
>>>>
>> ok ofbiz uses Ant
>> there is a build.xml for every component, and one for to build
>> everything.
>> have not seen any discussion lately about maven.
>
>> Ambient Solution sent the following on 3/13/2009 7:53 PM:
>
>
>>>>>>> Hi,
>>>>>>>
>>>>>>> This is not a quesiton about subversion , Original quesiton is for
>>>>>>>  build
>>>>>>> process.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Sumit
>>>>>>> Solution Architect
>>>>>>> Pune
>>>>>>> +91-9221182885
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sat, Mar 14, 2009 at 8:13 AM, BJ Freeman <[hidden email]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>  > we use subversion which is part of the apache foundation respository
>
>
>>>>>>> there is an eclipse plugin
>>>>>>> http://subversion.tigris.org/
>>>>>>> also read this
>>>>>>> http://docs.ofbiz.org/display/OFBIZ/SVN+Tips+-+MS+Vendor+Branch
>>>>>>>
>>>>>>> Ambient Solution sent the following on 3/13/2009 7:12 PM:
>>>>>>>  > Hi,
>>>>>>>
>>>>>>>
>>>>>>>>  I worked on offbiz for four year previously and again I started as
>>>>>>>>> some
>>>>>>> of
>>>>>>>
>>>>>>>
>>>>>>>>  my associated recomend to research on it.
>>>>>>>>>> I am not sure whether I am asking reight quesiton here or not.
>>>>>>>>>>
>>>>>>>>>> Previously when I was working on offbiz to setup workspace in eclipse
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> ,
>>>>>>> its
>>>>>>>
>>>>>>>
>>>>>>>>  a hattick job , Setting classpath is a manual process in eclipse
>>>>>>>>>> while
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> for
>>>>>>>>  build we use ant build.
>>>>>>>>>> Same functionality is provided by Maven  which support boath IDE and
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> duild
>>>>>>>>  creation . Is some one already worked on ant to Maven Migration.
>>>>>>>>>> The benifit I seen in MVN you can set dependecy which is required for
>>>>>>>>>> perticular project or JAR level not you have set a full folder.
>>>>>>>>>> Second benift I found that once you setup your repository on server
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> which
>>>>>>> is
>>>>>>>
>>>>>>>
>>>>>>>>  not a part of your  project ,  It will save space on version server
>>>>>>>>>>  ,
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> Cos
>>>>>>>>  every new branch or project dosent require to copy all jar.
>>>>>>>>>>   This process also reduce traffic  on n/w at build time , Cos that
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> time
>>>>>>>  you dont have to download jar again , MVN download only new or updated
>>>>>>>>> jar .
>>>>>>>>  If is there any one who worked on the same thing , Please help me.
>>>>>>>>>> Regards,
>>>>>>>>>> Sumit
>>>>>>>>>> Solution Architect
>>>>>>>>>> +91-9221182885
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>
>>>>>
>>>>>
>>>>
>>>> --
>>>>
>>>>
>>>>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJu+KBrP3NbaWWqE4RAq6fAKCSMUYGz3iPAwaqGLeqhn0IXXdsnwCfWpGt
+0PRVHrIvhu7Dv3XuAjeQso=
=Ggud
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Ant VS MVN in offbiz

Ambient Solution
In reply to this post by BJ Freeman
This statement is for the Depedency added in each project.

In ant build gen we have a lib folder in which all jar are placed like
datbase , commons-lang , logging etc , In gen build process we compile our
individual project with all jar.

    If one project required only database related jar then why I will
compile it will all jar.  It should be compile against only those jar which
is required for it.

This is the same case for War , If project is multi war project , why there
is a need of copying all jars in any war , we can copy only those jar which
is required by it.

 For ex if is there any Party related war it will contain only Party related
jar not sales related jar also.



--
Regards,
Sumit
Solution Architect
Pune
+91-9221182885


On Sat, Mar 14, 2009 at 10:20 PM, BJ Freeman <[hidden email]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I am not against Maven but i don't understand why the statement about
> only those jars is stated.
>
> This is already accomplished not only the way Tomcat uses Jars but how
> the structure built into ofbiz is done, without ant or maven.
>
> So if maven can take the ofbiz as it comes from the repository, and make
> a project out of it that would seem to allow maven and ant to work side
> by side.
>
> The current repository has files that support a couple development
> environment, So there maybe a way to include the maven files that can be
>  supported that once downloaded would allow you to use maven.
>
>
> Ambient Solution sent the following on 3/14/2009 8:59 AM:
>  > HI Ashish,
> >
> >
> > Setup a workspace using manual process is fine even it take 5 minut but
> you
> > cant compare it with automated process.  But MVN provide you automated
> > process to setup your workspace.
> >
> > Through MVN  process you can set only those jar which is required for a
> > perticular project not all jar.
> >
> >  --
> > Regards,
> > Sumit
> > Solution Architect
> > Pune
> > +91-9221182885
> >
> >
> > On Sat, Mar 14, 2009 at 11:48 AM, Ashish Vijaywargiya <
> > [hidden email]> wrote:
> >
> >> Hello Sumit,
> >>
> >> Inline :
> >>
> >> Ambient Solution wrote:
> >>
> >>> build.xml is fine when you want to deploy the project , but as a
> devloper
> >>> prospective when you want to setup workspace , it is very time
> consuming
> >>> process.
> >>>
> >>>
> >> I am not agree on your point that setting up workspace is time consuming
> >> process.
> >> I can setup workspace in only 10 minutes.
> >>
> >> Can you please elaborate more why its time consuming for you ?
> >> Are you using Old PC ?
> >>
> >> --
> >> Ashish
> >>
> >> Regards,
> >>> Sumit
> >>> Solution Architect
> >>> Pune
> >>> +91-9221182885
> >>>
> >>>
> >>> On Sat, Mar 14, 2009 at 8:28 AM, BJ Freeman <[hidden email]>
> wrote:
> >>>
> >>>
> >>>
>  > ok ofbiz uses Ant
> > there is a build.xml for every component, and one for to build
> > everything.
> > have not seen any discussion lately about maven.
> >
> > Ambient Solution sent the following on 3/13/2009 7:53 PM:
> >
> >
> >>>>>> Hi,
> >>>>>>
> >>>>>> This is not a quesiton about subversion , Original quesiton is for
> >>>>>>  build
> >>>>>> process.
> >>>>>>
> >>>>>> Regards,
> >>>>>> Sumit
> >>>>>> Solution Architect
> >>>>>> Pune
> >>>>>> +91-9221182885
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> On Sat, Mar 14, 2009 at 8:13 AM, BJ Freeman <[hidden email]>
> >>>>>> wrote:
> >>>>>>
> >>>>>>
> >>>>>>
> >  > we use subversion which is part of the apache foundation respository
> >
> >
> >>>>>> there is an eclipse plugin
> >>>>>> http://subversion.tigris.org/
> >>>>>> also read this
> >>>>>> http://docs.ofbiz.org/display/OFBIZ/SVN+Tips+-+MS+Vendor+Branch
> >>>>>>
> >>>>>> Ambient Solution sent the following on 3/13/2009 7:12 PM:
> >>>>>>  > Hi,
> >>>>>>
> >>>>>>
> >>>>>>>  I worked on offbiz for four year previously and again I started as
> >>>>>>>>>
> >>>>>>>> some
> >
> >>>>>> of
> >>>>>>
> >>>>>>
> >>>>>>>  my associated recomend to research on it.
> >>>>>>>>> I am not sure whether I am asking reight quesiton here or not.
> >>>>>>>>>
> >>>>>>>>> Previously when I was working on offbiz to setup workspace in
> eclipse
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>> ,
> >
> >>>>>> its
> >>>>>>
> >>>>>>
> >>>>>>>  a hattick job , Setting classpath is a manual process in eclipse
> >>>>>>>>> while
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>> for
> >>>>>>
> >>>>>>>  build we use ant build.
> >>>>>>>>> Same functionality is provided by Maven  which support boath IDE
> and
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>> duild
> >>>>>>
> >>>>>>>  creation . Is some one already worked on ant to Maven Migration.
> >>>>>>>>> The benifit I seen in MVN you can set dependecy which is required
> for
> >>>>>>>>> perticular project or JAR level not you have set a full folder.
> >>>>>>>>> Second benift I found that once you setup your repository on
> server
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>> which
> >
> >>>>>> is
> >>>>>>
> >>>>>>
> >>>>>>>  not a part of your  project ,  It will save space on version
> server
> >>>>>>>>>  ,
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>> Cos
> >>>>>>
> >>>>>>>  every new branch or project dosent require to copy all jar.
> >>>>>>>>>   This process also reduce traffic  on n/w at build time , Cos
> that
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>> time
> >
> >>>>>>  you dont have to download jar again , MVN download only new or
> updated
> >>>>>>>>>
> >>>>>>>> jar .
> >>>>>>
> >>>>>>>  If is there any one who worked on the same thing , Please help me.
> >>>>>>>>> Regards,
> >>>>>>>>> Sumit
> >>>>>>>>> Solution Architect
> >>>>>>>>> +91-9221182885
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>>
> >>>
> >>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJu+BrrP3NbaWWqE4RAvJZAJoC7QABBZXxApdAV9HnKzhL5OggLACfWgwj
> Bb8McVEKIRn+E8XfYSRHVIU=
> =0rUE
> -----END PGP SIGNATURE-----
>
Reply | Threaded
Open this post in threaded view
|

Re: Ant VS MVN in offbiz

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I agree.
each component in ofbiz has its own jars specific to that component.
those are shared with other components.
So the framework had components that the jars in it are shared with
other components. there is one lib that has the common  jars needed for
every project.

Just so we are on the same page, Framework would be a project, and the
individual application and or specialpurpose components would be
projects, IMHO.

>  For ex if is there any Party related war it will contain only Party
related jar not sales related jar also.

think you will find that is the way it is.


Ambient Solution sent the following on 3/14/2009 10:40 AM:

> This statement is for the Depedency added in each project.
>
> In ant build gen we have a lib folder in which all jar are placed like
> datbase , commons-lang , logging etc , In gen build process we compile our
> individual project with all jar.
>
>     If one project required only database related jar then why I will
> compile it will all jar.  It should be compile against only those jar which
> is required for it.
>
> This is the same case for War , If project is multi war project , why there
> is a need of copying all jars in any war , we can copy only those jar which
> is required by it.
>
>  For ex if is there any Party related war it will contain only Party related
> jar not sales related jar also.
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJu/FJrP3NbaWWqE4RAhBEAJ976UuOpTqmD4x+k1IBt3H9vM+eLQCgwzDS
GHJsdYTTdMLOKBPH6pb1yps=
=LMIy
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Ant VS MVN in offbiz

Colin Rooney
In reply to this post by Shi Jinghai
I still just finding my way in OfBiz (I like what I find!), but I am
very involved with another open source ERP  project (adempiere) and we
have had some calls there to go the maven route too.  I'm not sure if
it's a bit of a band wagon yet but one blog I did find interesting
(because it seemed like a real world evaluation) was
http://weblogs.java.net/blog/zarar/archive/2006/12/the_pain_of_mig_1.html

But people who use maven do (mostly) sing it praise okay but I cannot
help thinking it's a bit like the scaffolding in the likes of grails -
it great when you are starting from scratch--to enforce some structure
and get you up to speed quick-- but it might some become limiting if you
need to do something non-standard.

Any way I have no experience... just thought I'd share the link.
Personally it seems to me that since all the ant scripts are there, to
just about anything needed in the project, there is little to be gained.

Colin

Shi Jinghai wrote:

> Many people here can understand your feeling and have the same feeling.
> Obviously maven is better when you're crazy for so many projects and
> deployment to maintain.
>
> We'll try to do something in this area as we are mavening our source
> code now. We'll setup maven2.langhua.org to play the role of OFBiz
> maven2 repository.
>
> What is the main problem now is OFBiz is not version released, it's
> difficult to decide which trunk version should be put into repository.
>
> Anyway, we'll set it up in 2009. Hope it's not too late for you :).
>
> Regards,
>
> Shi Jinghai/Beijing Langhua Ltd.
>
>
> 在 2009-03-14六的 07:42 +0530,Ambient Solution写道:
>  
>> Hi,
>>
>>
>> I worked on offbiz for four year previously and again I started as some of
>> my associated recomend to research on it.
>>
>> I am not sure whether I am asking reight quesiton here or not.
>>
>> Previously when I was working on offbiz to setup workspace in eclipse , its
>> a hattick job , Setting classpath is a manual process in eclipse while for
>> build we use ant build.
>>
>> Same functionality is provided by Maven  which support boath IDE and duild
>> creation . Is some one already worked on ant to Maven Migration.
>>
>> The benifit I seen in MVN you can set dependecy which is required for
>> perticular project or JAR level not you have set a full folder.
>> Second benift I found that once you setup your repository on server which is
>> not a part of your  project ,  It will save space on version server  , Cos
>> every new branch or project dosent require to copy all jar.
>>
>>    This process also reduce traffic  on n/w at build time , Cos that time
>> you dont have to download jar again , MVN download only new or updated jar .
>>
>> If is there any one who worked on the same thing , Please help me.
>>
>> Regards,
>> Sumit
>> Solution Architect
>> +91-9221182885
>>    
>
>
>  

--
With Kind Regards,


Colin Rooney
________________________
mobile: +353 86 046 5976
skype: colin.rooney
web: www.openbiz.ie

Reply | Threaded
Open this post in threaded view
|

Re: Ant VS MVN in offbiz

Shi Jinghai
In reply to this post by Shi Jinghai
We have setup a maven2 repository using Apache Archiva 1.2:
http://maven2.langhua.org/

The public repository url is:
http://maven2.langhua.org/public/

This repository can be used in a pom.xml by adding:
  <repositories>
    <repository>
      <id>langhua-public-repository</id>
      <name>Langhua.org Public Maven2 Repository</name>
      <url>http://maven2.langhua.org/public</url>
    </repository>
  </repositories>

If anybody is interested in maintaining jars and sources.jars of
org.apache.ofbiz, please send me an email privately.

Cheers,

Shi Jinghai/Beijing Langhua Ltd.


在 2009-03-14六的 18:18 +0800,Shi Jinghai写道:

> Many people here can understand your feeling and have the same feeling.
> Obviously maven is better when you're crazy for so many projects and
> deployment to maintain.
>
> We'll try to do something in this area as we are mavening our source
> code now. We'll setup maven2.langhua.org to play the role of OFBiz
> maven2 repository.
>
> What is the main problem now is OFBiz is not version released, it's
> difficult to decide which trunk version should be put into repository.
>
> Anyway, we'll set it up in 2009. Hope it's not too late for you :).
>
> Regards,
>
> Shi Jinghai/Beijing Langhua Ltd.
>
>
> 在 2009-03-14六的 07:42 +0530,Ambient Solution写道:
> > Hi,
> >
> >
> > I worked on offbiz for four year previously and again I started as some of
> > my associated recomend to research on it.
> >
> > I am not sure whether I am asking reight quesiton here or not.
> >
> > Previously when I was working on offbiz to setup workspace in eclipse , its
> > a hattick job , Setting classpath is a manual process in eclipse while for
> > build we use ant build.
> >
> > Same functionality is provided by Maven  which support boath IDE and duild
> > creation . Is some one already worked on ant to Maven Migration.
> >
> > The benifit I seen in MVN you can set dependecy which is required for
> > perticular project or JAR level not you have set a full folder.
> > Second benift I found that once you setup your repository on server which is
> > not a part of your  project ,  It will save space on version server  , Cos
> > every new branch or project dosent require to copy all jar.
> >
> >    This process also reduce traffic  on n/w at build time , Cos that time
> > you dont have to download jar again , MVN download only new or updated jar .
> >
> > If is there any one who worked on the same thing , Please help me.
> >
> > Regards,
> > Sumit
> > Solution Architect
> > +91-9221182885
>

Reply | Threaded
Open this post in threaded view
|

RE: Ant VS MVN in offbiz

bsanders1979
I like Maven and I have to disagree with the person who said "Maven is
less flexible than Ant". I'm not saying it's more/as flexible, but in my
experience with it, the plugins are designed to act a certain way if
they are not configured. This is intended to provide behavior that might
work for 90% (arbitrary guesstimate) of developers. If you want to tweak
the behavior of the plugin, then by all means do so in the POM. I
learned a lot about this by playing with the assembly plugin (which is
very cool). While I think it would be neat to see OFBiz "mavenized", I
don't see anything wrong with the current build system.