Egon,
On 16 April 2011 08:19, Egon Willighagen <egon.willigha...@gmail.com> wrote:
> On Sat, Apr 16, 2011 at 2:15 AM, Dmitry Katsubo
> <dmitry.kats...@gmail.com> wrote:
> > Perhaps, doing a correct splitting into smaller modules + tracing the
> > dependencies is the best solution. It looks like Maven can help here.
> > Finally I wonder, who is using CDK in Maven-based project and are there
> > any ready-to-use POMs / Maven repositories? If not, is there anybody
> > interested in modularizing CDK?
>
> It already is.
But not mavenized , and maven is becoming more of a standard approach to
define Java dependencies these days :)
> The single big jar is a much requested feature by
> users, but the build system starts with a modularized approach.
>
> ant clean dist-all test-dist-all
>
> and check the output in dist/jar.
>
> Dependencies are defined in src/META-INF/*.*depends
>
>
Deploying and configuring all separate jars into a maven dependencies /
repository is quite a work though.
I would like to suggest the following. The project that is used to deploy
jars into the maven repository in my previous mail is this one (the URL has
already been sent to this list):
https://ambit.svn.sourceforge.net/svnroot/ambit/trunk/cdk-maven
It doesn't build the CDK, just imposes maven structure of the modules and
deploys the binary jars into a repository. It should be trivial to extend
CDK build file to copy the jars into the mavenized structure of this
project. The proposal is to have the mavenized structure above into the CDK
source tree, just next to the current one, and use it to deploy the jars
into a maven repository. (I know some prefer to keep the ant build system as
it is :)
CDK jars not being registered in a public maven repository is a major show
stopper of making derivative projects available via maven infrastructure,
hope this could help move things in that direction.
Nina
> Egon
>
> --
> Dr E.L. Willighagen
> Postdoctoral Researcher
> Institutet för miljömedicin
> Karolinska Institutet (http://ki.se/imm)
> Homepage: http://egonw.github.com/
> LinkedIn: http://se.linkedin.com/in/egonw
> Blog: http://chem-bla-ics.blogspot.com/
> PubList: http://www.citeulike.org/user/egonw/tag/papers
>
>
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve
> application availability and disaster protection. Learn more about boosting
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> Cdk-user mailing list
> Cdk-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdk-user
>
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Cdk-user mailing list
Cdk-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-user