You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Sebastian Luft <se...@gmail.com> on 2010/12/08 15:48:31 UTC

ODE compilation problems

Hi there.

I finally got buildr working and wanted to compile ODE 1.3.4 with
sudo buildr package
but after a while, I get an exception:

$ sudo buildr package
(in /home/user/Desktop/ode-1.3.4, development)
The javadoc method is deprecated and will be removed in a future release.
Building ode
Buildr aborted!
RuntimeError : Circular dependency detected: TOP => package => build =>
ode:build => ode:test => ode:test:compile => ode:compile =>
ode:axis2:compile =>
/home/user/Desktop/ode-1.3.4/bpel-connector/target/ode-bpel-connector-1.3.4.jar
=> ode:bpel-connector:build =>
/home/user/Desktop/ode-1.3.4/bpel-connector/target/classes =>
ode:bpel-connector:compile =>
/home/user/Desktop/ode-1.3.4/bpel-runtime/target/ode-bpel-runtime-1.3.4.jar
=> ode:bpel-runtime:build =>
/home/user/Desktop/ode-1.3.4/bpel-runtime/target/classes =>
ode:bpel-runtime:compile =>
/home/user/Desktop/ode-1.3.4/bpel-store/target/ode-bpel-store-1.3.4.jar =>
ode:bpel-store:build =>
/home/user/Desktop/ode-1.3.4/bpel-store/target/classes =>
ode:bpel-store:compile => ode:bpel-store:resources =>
/home/user/Desktop/ode-1.3.4/bpel-store/target/hbm.timestamp =>
/home/user/Desktop/ode-1.3.4/dao-hibernate/target/ode-dao-hibernate-1.3.4.jar
=> ode:dao-hibernate:build =>
/home/user/Desktop/ode-1.3.4/dao-hibernate/target/classes =>
ode:dao-hibernate:compile => ode:dao-hibernate:resources =>
/home/user/Desktop/ode-1.3.4/dao-hibernate/target/hbm.timestamp =>
/home/user/Desktop/ode-1.3.4/dao-hibernate/target/ode-dao-hibernate-1.3.4.jar

Google tells me it's a bug, but from what I understand it should be fixed.

I'm using Ubuntu 10.10 fresh install, ODE 1.3.4, buildr 1.4.4, JRuby 1.5.6,
RubyGems 1.3.7, OpenJDK 1.6.0_20.

Greetings, Sebastian.

Re: ODE compilation problems

Posted by Sebastian Luft <se...@gmail.com>.
Hi Tammo,

even if your solution is not the one that solved the issue, it still
pointed me to what went wrong: "$ buildr artifacts" gave me some
permission denied errors and aborted, then I looked at the repository
and found out all files were created by root and the current user
could not read them, thats why eclipse didn't find them. I started
over, deleted the .m2 folder and issued "$ buildr package" without
sudo in front of it. Now all went good and after "$ buildr eclipse"
and importing the projects, there were "only" 52 errors left.
Majority came from project "ode-jacob-ap", where the package
"com.sun.mirror" was missing. I downloaded this jar file
http://www.findjar.com/jar/org/eclipse/jdt/apt/core/3.3.0-v20070607-1200/core-3.3.0-v20070607-1200.jar.html
and manually added it to the build path of "ode-jacob-ap" and had only
12 errors left.
Most of them came from the project "ode-axis2-war" from one single
class in package "org.apache.ode.axis2.correlation" named
"CorrelationUnicityTest". After assigning the eclipse quickfix which
moved that class to the package "org.apache.ode.axis2", only two
errors remained.
To fix both of these, I removed the project "ode-bpel-scripts" form
the build path of project "ode-bpel-test" (which wasn't required
anyway) and then it all worked!

It's been a long way, but finally I got it working! Again, thank you
for your help.
Greetings, Sebastian.

On Mon, Dec 13, 2010 at 6:28 PM, Tammo van Lessen <tv...@gmail.com> wrote:
> Hi Sebastian,
>
> usually buildr downloads all artifacts into your local m2 repository.
> Please verify if the are there or check why eclipse does not find them.
> Perhaps Eclipse needs to rebuild all projects.
>
> If the artifacts are not there already, please run "buildr artifacts"
> and then "buildr eclipse" again.
>
> HTH,
>  Tammo

Re: ODE compilation problems

Posted by Tammo van Lessen <tv...@gmail.com>.
Hi Sebastian,

usually buildr downloads all artifacts into your local m2 repository.
Please verify if the are there or check why eclipse does not find them.
Perhaps Eclipse needs to rebuild all projects.

If the artifacts are not there already, please run "buildr artifacts"
and then "buildr eclipse" again.

HTH,
  Tammo

On 13.12.2010 16:16, Sebastian Luft wrote:
> Hi Tammo, it's me again...
> 
> Now I imported the projects into a fresh installation of the newest
> version of Eclipse and also set the M2_REPO variable to
> /home/user/.m2/repository but I get about 17 thousand compilation
> errors, mostly regarding "some_class cannot be resolved to a type". I
> noticed that eclipse has problems finding many imports, like
> org.apache.commons, com.sun.mirror, javax.servlet and so on, just to
> count a few.
> Do I have to manually fix these imports, i.e. by downloading and
> adding jar files to the build paths? I hope there is an easier way to
> get it going, as manually fixing 29 projects would really cost some
> effort...
> 
> Thank you for your great support!
> 
> Sebastian.

-- 
Tammo van Lessen - http://www.taval.de

Re: ODE compilation problems

Posted by Sebastian Luft <se...@gmail.com>.
Hi Tammo, it's me again...

Now I imported the projects into a fresh installation of the newest
version of Eclipse and also set the M2_REPO variable to
/home/user/.m2/repository but I get about 17 thousand compilation
errors, mostly regarding "some_class cannot be resolved to a type". I
noticed that eclipse has problems finding many imports, like
org.apache.commons, com.sun.mirror, javax.servlet and so on, just to
count a few.
Do I have to manually fix these imports, i.e. by downloading and
adding jar files to the build paths? I hope there is an easier way to
get it going, as manually fixing 29 projects would really cost some
effort...

Thank you for your great support!

Sebastian.

Re: ODE compilation problems

Posted by Sebastian Luft <se...@gmail.com>.
Hi Tammo,

thank you very much, commenting the two lines with GPG did the job.

Greetings, Sebastian.

On Sat, Dec 11, 2010 at 2:26 PM, Tammo van Lessen <tv...@gmail.com>wrote:

> Hi Sami, Sebastian,
>
> that's pretty strange - GPG signing should only take place when
> uploading the artifacts to a maven repository, not when creating IDE
> related files. I'll dig into that, as a workaround I suggest to search
> for 'GPG' in the Rakefile and comment these line.
>
> Tammo
>
> On 11.12.2010 11:40, Sami Alsouri wrote:
> > Hi Tammo,
> >
> > because Sebastian was not able to post his reply to the mailing list, I
> am
> > doing that for him here:
> >
> > ------------
> > Hi Tammo,
> >
> > thank you for the quick reply, it compiled smooth with the new 1.3.5.x
> > version (even though some tests still fail, but works with the "test=no"
> > parameter).
> > Unfortunately, when I try to build the eclipse project files, I get an
> error
> > message like this one:
> >
> > $ sudo buildr eclipse
> > (in /home/user/ode-1.3.5.x, development)
> > GPG signing org.apache.ode:ode-agents:jar:1.3.5-SNAPSHOT
> > gpg: skipped "": malformed user id
> > gpg: signing failed: malformed user id
> > Buildr aborted!
> > Errno::ENOENT : No such file or directory -
> > /home/user/ode-1.3.5.x/agents/target/ode-agents-1.3.5-SNAPSHOT.jar.asc
> >
> > It seems like it has something to do with GPG but I can't figure it out.
> > Perhaps you have an idea?
> >
> > Greetings, Sebastian.
> > ------------
> >
> >> -----Original Message-----
> >> From: Tammo van Lessen [mailto:tvanlessen@gmail.com]
> >> Sent: Wednesday, December 08, 2010 3:55 PM
> >> To: user@ode.apache.org
> >> Subject: Re: ODE compilation problems
> >>
> >> Hi Sebastian,
> >>
> >> ODE 1.3.4 is built with buildr 1.3.5. We're close to releasing ODE
> >> 1.3.5, which will be a maintainance and performance fix release. It is
> >> very close to 1.3.4. So I'd recommend you to checkout the sources from
> >> there and build it with buildr 1.4.4.
> >>
> >> http://svn.apache.org/repos/asf/ode/branches/ode-1.3.5.x/
> >>
> >> Best,
> >>  Tammo
> >>
> >> On 08.12.2010 15:48, Sebastian Luft wrote:
> >>> Hi there.
> >>>
> >>> I finally got buildr working and wanted to compile ODE 1.3.4 with
> >>> sudo buildr package
> >>> but after a while, I get an exception:
> >>>
> >>> $ sudo buildr package
> >>> (in /home/user/Desktop/ode-1.3.4, development)
> >>> The javadoc method is deprecated and will be removed in a future
> >> release.
> >>> Building ode
> >>> Buildr aborted!
> >>> RuntimeError : Circular dependency detected: TOP => package => build
> >> =>
> >>> ode:build => ode:test => ode:test:compile => ode:compile =>
> >>> ode:axis2:compile =>
> >>> /home/user/Desktop/ode-1.3.4/bpel-connector/target/ode-bpel-connector-
> >> 1.3.4.jar
> >>> => ode:bpel-connector:build =>
> >>> /home/user/Desktop/ode-1.3.4/bpel-connector/target/classes =>
> >>> ode:bpel-connector:compile =>
> >>> /home/user/Desktop/ode-1.3.4/bpel-runtime/target/ode-bpel-runtime-
> >> 1.3.4.jar
> >>> => ode:bpel-runtime:build =>
> >>> /home/user/Desktop/ode-1.3.4/bpel-runtime/target/classes =>
> >>> ode:bpel-runtime:compile =>
> >>> /home/user/Desktop/ode-1.3.4/bpel-store/target/ode-bpel-store-
> >> 1.3.4.jar =>
> >>> ode:bpel-store:build =>
> >>> /home/user/Desktop/ode-1.3.4/bpel-store/target/classes =>
> >>> ode:bpel-store:compile => ode:bpel-store:resources =>
> >>> /home/user/Desktop/ode-1.3.4/bpel-store/target/hbm.timestamp =>
> >>> /home/user/Desktop/ode-1.3.4/dao-hibernate/target/ode-dao-hibernate-
> >> 1.3.4.jar
> >>> => ode:dao-hibernate:build =>
> >>> /home/user/Desktop/ode-1.3.4/dao-hibernate/target/classes =>
> >>> ode:dao-hibernate:compile => ode:dao-hibernate:resources =>
> >>> /home/user/Desktop/ode-1.3.4/dao-hibernate/target/hbm.timestamp =>
> >>> /home/user/Desktop/ode-1.3.4/dao-hibernate/target/ode-dao-hibernate-
> >> 1.3.4.jar
> >>>
> >>> Google tells me it's a bug, but from what I understand it should be
> >> fixed.
> >>>
> >>> I'm using Ubuntu 10.10 fresh install, ODE 1.3.4, buildr 1.4.4, JRuby
> >> 1.5.6,
> >>> RubyGems 1.3.7, OpenJDK 1.6.0_20.
> >>>
> >>> Greetings, Sebastian.
> >>>
> >>
> >> --
> >> Tammo van Lessen - http://www.taval.de
> >
>
> --
> Tammo van Lessen - http://www.taval.de
>

Re: ODE compilation problems

Posted by Tammo van Lessen <tv...@gmail.com>.
Hi Sami, Sebastian,

that's pretty strange - GPG signing should only take place when
uploading the artifacts to a maven repository, not when creating IDE
related files. I'll dig into that, as a workaround I suggest to search
for 'GPG' in the Rakefile and comment these line.

Tammo

On 11.12.2010 11:40, Sami Alsouri wrote:
> Hi Tammo,
> 
> because Sebastian was not able to post his reply to the mailing list, I am
> doing that for him here:
> 
> ------------
> Hi Tammo,
> 
> thank you for the quick reply, it compiled smooth with the new 1.3.5.x
> version (even though some tests still fail, but works with the "test=no"
> parameter).
> Unfortunately, when I try to build the eclipse project files, I get an error
> message like this one:
> 
> $ sudo buildr eclipse
> (in /home/user/ode-1.3.5.x, development)
> GPG signing org.apache.ode:ode-agents:jar:1.3.5-SNAPSHOT
> gpg: skipped "": malformed user id
> gpg: signing failed: malformed user id
> Buildr aborted!
> Errno::ENOENT : No such file or directory -
> /home/user/ode-1.3.5.x/agents/target/ode-agents-1.3.5-SNAPSHOT.jar.asc
> 
> It seems like it has something to do with GPG but I can't figure it out.
> Perhaps you have an idea?
> 
> Greetings, Sebastian.
> ------------
> 
>> -----Original Message-----
>> From: Tammo van Lessen [mailto:tvanlessen@gmail.com]
>> Sent: Wednesday, December 08, 2010 3:55 PM
>> To: user@ode.apache.org
>> Subject: Re: ODE compilation problems
>>
>> Hi Sebastian,
>>
>> ODE 1.3.4 is built with buildr 1.3.5. We're close to releasing ODE
>> 1.3.5, which will be a maintainance and performance fix release. It is
>> very close to 1.3.4. So I'd recommend you to checkout the sources from
>> there and build it with buildr 1.4.4.
>>
>> http://svn.apache.org/repos/asf/ode/branches/ode-1.3.5.x/
>>
>> Best,
>>  Tammo
>>
>> On 08.12.2010 15:48, Sebastian Luft wrote:
>>> Hi there.
>>>
>>> I finally got buildr working and wanted to compile ODE 1.3.4 with
>>> sudo buildr package
>>> but after a while, I get an exception:
>>>
>>> $ sudo buildr package
>>> (in /home/user/Desktop/ode-1.3.4, development)
>>> The javadoc method is deprecated and will be removed in a future
>> release.
>>> Building ode
>>> Buildr aborted!
>>> RuntimeError : Circular dependency detected: TOP => package => build
>> =>
>>> ode:build => ode:test => ode:test:compile => ode:compile =>
>>> ode:axis2:compile =>
>>> /home/user/Desktop/ode-1.3.4/bpel-connector/target/ode-bpel-connector-
>> 1.3.4.jar
>>> => ode:bpel-connector:build =>
>>> /home/user/Desktop/ode-1.3.4/bpel-connector/target/classes =>
>>> ode:bpel-connector:compile =>
>>> /home/user/Desktop/ode-1.3.4/bpel-runtime/target/ode-bpel-runtime-
>> 1.3.4.jar
>>> => ode:bpel-runtime:build =>
>>> /home/user/Desktop/ode-1.3.4/bpel-runtime/target/classes =>
>>> ode:bpel-runtime:compile =>
>>> /home/user/Desktop/ode-1.3.4/bpel-store/target/ode-bpel-store-
>> 1.3.4.jar =>
>>> ode:bpel-store:build =>
>>> /home/user/Desktop/ode-1.3.4/bpel-store/target/classes =>
>>> ode:bpel-store:compile => ode:bpel-store:resources =>
>>> /home/user/Desktop/ode-1.3.4/bpel-store/target/hbm.timestamp =>
>>> /home/user/Desktop/ode-1.3.4/dao-hibernate/target/ode-dao-hibernate-
>> 1.3.4.jar
>>> => ode:dao-hibernate:build =>
>>> /home/user/Desktop/ode-1.3.4/dao-hibernate/target/classes =>
>>> ode:dao-hibernate:compile => ode:dao-hibernate:resources =>
>>> /home/user/Desktop/ode-1.3.4/dao-hibernate/target/hbm.timestamp =>
>>> /home/user/Desktop/ode-1.3.4/dao-hibernate/target/ode-dao-hibernate-
>> 1.3.4.jar
>>>
>>> Google tells me it's a bug, but from what I understand it should be
>> fixed.
>>>
>>> I'm using Ubuntu 10.10 fresh install, ODE 1.3.4, buildr 1.4.4, JRuby
>> 1.5.6,
>>> RubyGems 1.3.7, OpenJDK 1.6.0_20.
>>>
>>> Greetings, Sebastian.
>>>
>>
>> --
>> Tammo van Lessen - http://www.taval.de
> 

-- 
Tammo van Lessen - http://www.taval.de

RE: ODE compilation problems

Posted by Sami Alsouri <sa...@cased.de>.
Hi Tammo,

because Sebastian was not able to post his reply to the mailing list, I am
doing that for him here:

------------
Hi Tammo,

thank you for the quick reply, it compiled smooth with the new 1.3.5.x
version (even though some tests still fail, but works with the "test=no"
parameter).
Unfortunately, when I try to build the eclipse project files, I get an error
message like this one:

$ sudo buildr eclipse
(in /home/user/ode-1.3.5.x, development)
GPG signing org.apache.ode:ode-agents:jar:1.3.5-SNAPSHOT
gpg: skipped "": malformed user id
gpg: signing failed: malformed user id
Buildr aborted!
Errno::ENOENT : No such file or directory -
/home/user/ode-1.3.5.x/agents/target/ode-agents-1.3.5-SNAPSHOT.jar.asc

It seems like it has something to do with GPG but I can't figure it out.
Perhaps you have an idea?

Greetings, Sebastian.
------------

>-----Original Message-----
>From: Tammo van Lessen [mailto:tvanlessen@gmail.com]
>Sent: Wednesday, December 08, 2010 3:55 PM
>To: user@ode.apache.org
>Subject: Re: ODE compilation problems
>
>Hi Sebastian,
>
>ODE 1.3.4 is built with buildr 1.3.5. We're close to releasing ODE
>1.3.5, which will be a maintainance and performance fix release. It is
>very close to 1.3.4. So I'd recommend you to checkout the sources from
>there and build it with buildr 1.4.4.
>
>http://svn.apache.org/repos/asf/ode/branches/ode-1.3.5.x/
>
>Best,
>  Tammo
>
>On 08.12.2010 15:48, Sebastian Luft wrote:
>> Hi there.
>>
>> I finally got buildr working and wanted to compile ODE 1.3.4 with
>> sudo buildr package
>> but after a while, I get an exception:
>>
>> $ sudo buildr package
>> (in /home/user/Desktop/ode-1.3.4, development)
>> The javadoc method is deprecated and will be removed in a future
>release.
>> Building ode
>> Buildr aborted!
>> RuntimeError : Circular dependency detected: TOP => package => build
>=>
>> ode:build => ode:test => ode:test:compile => ode:compile =>
>> ode:axis2:compile =>
>> /home/user/Desktop/ode-1.3.4/bpel-connector/target/ode-bpel-connector-
>1.3.4.jar
>> => ode:bpel-connector:build =>
>> /home/user/Desktop/ode-1.3.4/bpel-connector/target/classes =>
>> ode:bpel-connector:compile =>
>> /home/user/Desktop/ode-1.3.4/bpel-runtime/target/ode-bpel-runtime-
>1.3.4.jar
>> => ode:bpel-runtime:build =>
>> /home/user/Desktop/ode-1.3.4/bpel-runtime/target/classes =>
>> ode:bpel-runtime:compile =>
>> /home/user/Desktop/ode-1.3.4/bpel-store/target/ode-bpel-store-
>1.3.4.jar =>
>> ode:bpel-store:build =>
>> /home/user/Desktop/ode-1.3.4/bpel-store/target/classes =>
>> ode:bpel-store:compile => ode:bpel-store:resources =>
>> /home/user/Desktop/ode-1.3.4/bpel-store/target/hbm.timestamp =>
>> /home/user/Desktop/ode-1.3.4/dao-hibernate/target/ode-dao-hibernate-
>1.3.4.jar
>> => ode:dao-hibernate:build =>
>> /home/user/Desktop/ode-1.3.4/dao-hibernate/target/classes =>
>> ode:dao-hibernate:compile => ode:dao-hibernate:resources =>
>> /home/user/Desktop/ode-1.3.4/dao-hibernate/target/hbm.timestamp =>
>> /home/user/Desktop/ode-1.3.4/dao-hibernate/target/ode-dao-hibernate-
>1.3.4.jar
>>
>> Google tells me it's a bug, but from what I understand it should be
>fixed.
>>
>> I'm using Ubuntu 10.10 fresh install, ODE 1.3.4, buildr 1.4.4, JRuby
>1.5.6,
>> RubyGems 1.3.7, OpenJDK 1.6.0_20.
>>
>> Greetings, Sebastian.
>>
>
>--
>Tammo van Lessen - http://www.taval.de


Re: ODE compilation problems

Posted by Tammo van Lessen <tv...@gmail.com>.
Hi Sebastian,

ODE 1.3.4 is built with buildr 1.3.5. We're close to releasing ODE
1.3.5, which will be a maintainance and performance fix release. It is
very close to 1.3.4. So I'd recommend you to checkout the sources from
there and build it with buildr 1.4.4.

http://svn.apache.org/repos/asf/ode/branches/ode-1.3.5.x/

Best,
  Tammo

On 08.12.2010 15:48, Sebastian Luft wrote:
> Hi there.
> 
> I finally got buildr working and wanted to compile ODE 1.3.4 with
> sudo buildr package
> but after a while, I get an exception:
> 
> $ sudo buildr package
> (in /home/user/Desktop/ode-1.3.4, development)
> The javadoc method is deprecated and will be removed in a future release.
> Building ode
> Buildr aborted!
> RuntimeError : Circular dependency detected: TOP => package => build =>
> ode:build => ode:test => ode:test:compile => ode:compile =>
> ode:axis2:compile =>
> /home/user/Desktop/ode-1.3.4/bpel-connector/target/ode-bpel-connector-1.3.4.jar
> => ode:bpel-connector:build =>
> /home/user/Desktop/ode-1.3.4/bpel-connector/target/classes =>
> ode:bpel-connector:compile =>
> /home/user/Desktop/ode-1.3.4/bpel-runtime/target/ode-bpel-runtime-1.3.4.jar
> => ode:bpel-runtime:build =>
> /home/user/Desktop/ode-1.3.4/bpel-runtime/target/classes =>
> ode:bpel-runtime:compile =>
> /home/user/Desktop/ode-1.3.4/bpel-store/target/ode-bpel-store-1.3.4.jar =>
> ode:bpel-store:build =>
> /home/user/Desktop/ode-1.3.4/bpel-store/target/classes =>
> ode:bpel-store:compile => ode:bpel-store:resources =>
> /home/user/Desktop/ode-1.3.4/bpel-store/target/hbm.timestamp =>
> /home/user/Desktop/ode-1.3.4/dao-hibernate/target/ode-dao-hibernate-1.3.4.jar
> => ode:dao-hibernate:build =>
> /home/user/Desktop/ode-1.3.4/dao-hibernate/target/classes =>
> ode:dao-hibernate:compile => ode:dao-hibernate:resources =>
> /home/user/Desktop/ode-1.3.4/dao-hibernate/target/hbm.timestamp =>
> /home/user/Desktop/ode-1.3.4/dao-hibernate/target/ode-dao-hibernate-1.3.4.jar
> 
> Google tells me it's a bug, but from what I understand it should be fixed.
> 
> I'm using Ubuntu 10.10 fresh install, ODE 1.3.4, buildr 1.4.4, JRuby 1.5.6,
> RubyGems 1.3.7, OpenJDK 1.6.0_20.
> 
> Greetings, Sebastian.
> 

-- 
Tammo van Lessen - http://www.taval.de