May be some kind of directory permissions issue. The Jars in the runtime plugin had permissions set as follows:

The directory:
drwxr-xr-x

The jars in the directory:
--w---r-T

I think the T is a "sticky" bit - but I forgot what that means.

Anyway, with these permissions settings, very strange errors are happening.
I did a chmod to make the jars have
-rw-r--r--

and then, the CDE actually started :-) Time to go to sleep, now... But I'll enter a Jira issue to fix the maven build on Unix and Mac platforms.

-Marshall

Marshall Schor wrote:
I tried changing the build scripts on the Mac, so the directory and outputDirectory entries are "./" instead of "/". That at least made the ep-plugins have all the files.

However, the "jars" are not being built correctly - they're there, but they're empty...

Anyone have any ideas how to fix this?

-Marshall

Jörn Kottmann wrote:
Hello,

I have the same problem on my macbook.

If you take a look at the assemble-plugin.xml you will see this:

...
    <fileSets>
        <fileSet>
            <directory>/</directory>
            <includes>
                <include>plugin.xml</include>
                <include>META-INF/</include>
            </includes>
            <outputDirectory>/</outputDirectory>
        </fileSet>
    </fileSets>
...

The problem is that "directory" must point to the current directory "./" and not to the root directory "/".
Maven simply do not finds the files. I guess this fails on linux too.

I think this should break the build or at least print a warning.

Jörn




Reply via email to