On 06/29/10 10:41 AM, Jørgen Austvik wrote:
> Yesterday I pushed the maven build scripts.
>   

Thanks, Jørgen! This looks very promising! :)

> You should be able to "build" with "mvn -Dmaven.test.skip=true" now.
>
> Known issues:
> - Some tests fail
> - Solaris packages not created
> - Documentation updates (README, wiki page)
> - Manifest must be changed
> - .war file does not contain classes
> - jrcs dependency to jar file
> - jmx_remote dependency to jar file
> - JFlex saves the file in the src directory
>
> This is how I intend to deal with these issues:
>
> Tests: Fix one after another. Help is appreciated.
>   

Maybe the problem is that the Maven scripts don't generate source.zip
and repositories.zip before running the tests? Those files are usually
generated by the Ant script before the tests are started.

> Solaris packages: Create a shell script (like the ipkg packages). Help
> is appreciated.
>   

Here you go:

/usr/bin/pkgmk -o -d build -r . -v ${version} -f 
platform/solaris/pkgdef/prototype
/usr/bin/pkgtrans -s build ../dist/OSOLopengrok-${version}.pkg OSOLopengrok

:)

> Documentation: Write it :)
> Manifest: Fix with plugin in .pom
> war file content: pom fix
> jrcs: check out the .zip file with the source that we have in our
> repository (several times to get the change history), and create a
> maven project and build for that. opengrok-indexer will depend on it.
> jflex: fix after vi delete the ant builds by moving files to maven
> directory structure (opengrok-indexer/src/{java, test, generated})
>
> Other issues people have found that I have forgotten?
>   

Building the opengrok-web project with the embedded Maven in NetBeans
fails because of some problems with the dependencies on jrcs and
jmx_remote. The jrcs problem will probably be resolved by the fix that
was suggested above. Don't know about jmx_remote, but it should perhaps
only be a direct dependency of opengrok-indexer, not of opengrok-web?

-- 
Knut Anders

_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev

Reply via email to