Hi
Am Tue, 27 Oct 2009 08:16:34 +0100
schrieb Christian Grobmeier <[email protected]>:
> Hi Christian,
> since it was already there i did some tweak to the existing code.
> Please look at it. It now creates a package.xml and includes it to the
> correct position in the assembly. Only pear package fails for me
> because of some strange error with role mappings...
It tries to say that it feels a bit empty:
<contents>
<dir baseinstalldir="/" name="/" /> <!-- / -->
</contents>
The pear creation automatically scans the current directory and
generates one line per file in the package.xml (something like the
MANIFEST.MF in a .jar).
I try to revert whatever happend that this directory is now empty as
it used to be filled with src/main/php until yesterday.
bye,
-christian-
> Would be great if you could have a look at it. I would prefer the
> assembly plugin solution and think that we two can get it running with
> some time :-) If you like the improved stuff, I would appreciate if
> you could help me with this pear package error... it brings
>
> Error: tag <file> in context "<dir name="/">" has no attribute "role"
>
> when it comes to pear package.
>
> If you cannot agree, I would like to ask you for another diff because
> it was very hard to see the difference in the last one (with the
> follow up changes).
>
> Best,
> Christian
>
>
> On Tue, Oct 27, 2009 at 2:24 AM, Christian Hammers <[email protected]>
> wrote:
> > Hi
> >
> > I really tried but I can't get a working PEAR package using the
> > assembly descriptors. Therefore I reverted back to the original ant
> > task inside the pom.xml and deleted the
> > src/assembly/ant-package.xml. (the changes are not yet committed as
> > they are mixed with the ones from my last mail)
> >
> > Now a "mvn package" creates the following files:
> > target/apache-log4php-2.0.0-incubating-src.tar.gz
> > target/apache-log4php-2.0.0-incubating-src.zip
> > target/log4php-2.0.0incubating.tgz
> >
> > The last one does not need a .zip counterpart and contains just
> > package.xml
> > log4php-2.0.0incubating/examples/... (copy of src/main/examples)
> > log4php-2.0.0incubating/log4php/... (copy of src/main/php/)
> > log4php-2.0.0incubating/CHANGELOG
> > log4php-2.0.0incubating/changes.xml
> > log4php-2.0.0incubating/LICENSE
> > log4php-2.0.0incubating/NOTICE
> > log4php-2.0.0incubating/README
> > The directory structure is mangled as PEAR should install it under
> > /usr/share/php/log4php/ resp. /usr/share/php/docs/log4php/.
> > (I installed it and it really works :))
> >
> > I commit the changes after we solve the other discussion.
> >
> > bye,
> >
> > -christian-
> >
> >