Return-Path: Delivered-To: apmail-synapse-dev-archive@www.apache.org Received: (qmail 13110 invoked from network); 27 Jan 2008 00:09:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jan 2008 00:09:53 -0000 Received: (qmail 34609 invoked by uid 500); 27 Jan 2008 00:09:44 -0000 Delivered-To: apmail-synapse-dev-archive@synapse.apache.org Received: (qmail 34569 invoked by uid 500); 27 Jan 2008 00:09:44 -0000 Mailing-List: contact dev-help@synapse.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@synapse.apache.org Delivered-To: mailing list dev@synapse.apache.org Received: (qmail 34560 invoked by uid 99); 27 Jan 2008 00:09:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jan 2008 16:09:44 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rajith77@gmail.com designates 72.14.252.156 as permitted sender) Received: from [72.14.252.156] (HELO po-out-1718.google.com) (72.14.252.156) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jan 2008 00:09:15 +0000 Received: by po-out-1718.google.com with SMTP id c31so2126625poi.1 for ; Sat, 26 Jan 2008 16:09:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=d0K6hetNz4q69Y+6QBWVN1o1i8CgR6z7zEMODWlx6G4=; b=YwSMMC6JEdAw0xPOyiu6f9FRrDzPlFlTwHu5HuZKquo1Yo7R+M5JIXq3kBEkV+BxJ3gb8+OGY8z2MiZ6fnBD+5X0ZFWIixR0uAcjQeItbphNmFzD+2RUooc2zFmI7kf+OMvCkffOR2xDOMOfuoKwuy8GX0K5C2v2R/xlsW9cCgQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=e2XSlo1VfB6VH+1Hk1NjQYvGCmzRwRzeBrIsRgnPvwo4wdBXfIeF7nFT6Mw3R4robtNeO2dXPJYjMEfjeSfF/abpcLQ7Lqp/tOsCV82kpDoq3OJ4Sepm/e7wkqq94hTJQKM1uqMk34TXsgg2gTlaFKzJOQ0PIiLFPTRrdnxh46Q= Received: by 10.140.179.25 with SMTP id b25mr2469301rvf.186.1201392562179; Sat, 26 Jan 2008 16:09:22 -0800 (PST) Received: by 10.141.156.8 with HTTP; Sat, 26 Jan 2008 16:09:22 -0800 (PST) Message-ID: Date: Sat, 26 Jan 2008 19:09:22 -0500 From: "Rajith Attapattu" To: dev@synapse.apache.org Subject: Re: Compilation error on trunk In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4572_26679490.1201392562213" References: <1201381950.5711.5.camel@ubuntu> <1201388126.5711.12.camel@ubuntu> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4572_26679490.1201392562213 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Oleg, Please note that I modified the pom file in the private maven repo here. http://people.apache.org/~rajith/maven2/org/apache/qpid/qpid-common/1.0-incubating-M3-615355/qpid-common-1.0-incubating-M3-615355.pom (not the synapse pom file) So please try with mvn clean install and see if you still get the compilation errors. Rajith On Jan 26, 2008 7:04 PM, Rajith Attapattu wrote: > Oleg, > > My bad, I created the maven stuff by hand and forgot to modify the pom > file. > I hope that is the issue and I fixed it. > Can you try again when you have some free time? > > If there are still issues, can some of the maven experts help me? > > regards, > > Rajith > > > On Jan 26, 2008 5:55 PM, Oleg Kalnichevski wrote: > > > > > On Sat, 2008-01-26 at 17:01 -0500, Rajith Attapattu wrote: > > > Oleg, > > > > > > Thanks for the patch it worked. I applied the patch on your behalf and > > > also updated the Qpid version to point to a revision instead of > > > M2-Snapshot as it seems maven keeps downloading the old snapshots from > > > the maven snapshot repo. > > > > > > Can you try now and see if you can compile properly with the qpid > > > stuff? > > > > > > > Build still fails for me. Anything I need to do to point to the right > > repository to pull the qpid 1.0-incubating-M3-SNAPSHOT? > > > > Oleg > > > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] BUILD ERROR > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Failed to resolve artifact. > > > > GroupId: org.apache.qpid > > ArtifactId: qpid > > Version: 1.0-incubating-M3-SNAPSHOT > > > > Reason: Unable to download the artifact from any repository > > > > org.apache.qpid:qpid:pom:1.0-incubating-M3-SNAPSHOT > > > > from the specified remote repositories: > > central (http://repo1.maven.org/maven2), > > wso2-m2 (http://dist.wso2.org/maven2/), > > apache.snapshots > > (http://people.apache.org/repo/m2-snapshot-repository), > > apache-snapshots > > (http://people.apache.org/repo/m2-snapshot-repository/), > > qpid-private (http://people.apache.org/~rajith/maven2/ > > ) > > > > > > > Regards, > > > > > > Rajith > > > > > > On Jan 26, 2008 4:12 PM, Oleg Kalnichevski wrote: > > > > > > On Sat, 2008-01-26 at 10:22 -0500, Rajith Attapattu wrote: > > > > Hi folks, > > > > > > > > I get the following compilation errors when trying to > > > compile synapse > > > > on trunk. > > > > Maybe the nio deps changed and the pom is not updated ? > > > > Anybody else seeing the same problem ? > > > > > > > > > > > > > Rajith, > > > > > > This patch (attached to this message) upgrades Synapse > > > dependency on > > > HttpCore from 4.0-alpha7-SNAPSHOT to 4.0-beta1 and resolves > > > the > > > compilation errors you have been seeing. > > > > > > I am unable to test the patch myself because I am also getting > > > lots of > > > compile errors related to org.apache.qpidity classes. > > > > > > Oleg > > > > > > > > > > [INFO] [compiler:compile] > > > > Compiling 66 source files > > > > > > > to > > /opt/workspace/webservices/synapse/java/modules/transports/target/classes > > > > [INFO] > > > > > > > > > ------------------------------------------------------------------------ > > > > [ERROR] BUILD FAILURE > > > > [INFO] > > > > > > > > > ------------------------------------------------------------------------ > > > > [INFO] Compilation failure > > > > > > > > > > /opt/workspace/webservices/synapse/java/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/ClientHandler.java:[26,30] > > cannot find symbol > > > > symbol : class HttpParamsLinker > > > > location: package org.apache.http.params > > > > > > > > > > /opt/workspace/webservices/synapse/java/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/ClientHandler.java:[129,12] > > cannot find symbol > > > > symbol : variable HttpParamsLinker > > > > location: class > > > org.apache.synapse.transport.nhttp.ClientHandler > > > > > > > > > > /opt/workspace/webservices/synapse/java/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/ClientHandler.java:[163,12] > > cannot find symbol > > > > symbol : variable HttpParamsLinker > > > > location: class > > > org.apache.synapse.transport.nhttp.ClientHandler > > > > > > > > > > > > -- > > > > Regards, > > > > > > > > Rajith Attapattu > > > > Red Hat > > > > blog: http://rajith.2rlabs.com/ > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org > > > For additional commands, e-mail: dev-help@synapse.apache.org > > > > > > > > > > > > -- > > > Regards, > > > > > > Rajith Attapattu > > > Red Hat > > > blog: http://rajith.2rlabs.com/ > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org > > For additional commands, e-mail: dev-help@synapse.apache.org > > > > > > > -- > > Regards, > > Rajith Attapattu > Red Hat > blog: http://rajith.2rlabs.com/ > -- Regards, Rajith Attapattu Red Hat blog: http://rajith.2rlabs.com/ ------=_Part_4572_26679490.1201392562213 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Oleg,

Please note that I modified the pom file in the private maven repo here. http://people.apache.org/~rajith/maven2/org/apache/qpid/qpid-common/1.0-incubating-M3-615355/qpid-common-1.0-incubating-M3-615355.pom
(not the synapse pom file)

So please try with mvn clean install and see if you still get the compilation errors.

Rajith

On Jan 26, 2008 7:04 PM, Rajith Attapattu <rajith77@gmail.com> wrote:
Oleg,

My bad, I created the maven stuff by hand and forgot to modify the pom file.
I hope that is the issue and I fixed it.
Can you try again when you have some free time?

If there are still issues, can some of the maven experts help me?

regards,

Rajith


On Jan 26, 2008 5:55 PM, Oleg Kalnichevski <olegk@apache.org> wrote:

On Sat, 2008-01-26 at 17:01 -0500, Rajith Attapattu wrote:
> Oleg,
>
> Thanks for the patch it worked. I applied the patch on your behalf and
> also updated the Qpid version to point to a revision instead of
> M2-Snapshot as it seems maven keeps downloading the old snapshots from
> the maven snapshot repo.
>
> Can you try now and see if you can compile properly with the qpid
> stuff?
>

Build still fails for me. Anything I need to do to point to the right
repository to pull the qpid 1.0-incubating-M3-SNAPSHOT?

Oleg

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.qpid
ArtifactId: qpid
Version: 1.0-incubating-M3-SNAPSHOT

Reason: Unable to download the artifact from any repository

 org.apache.qpid:qpid:pom:1.0-incubating-M3-SNAPSHOT

from the specified remote repositories:
 central (http://repo1.maven.org/maven2),
 wso2-m2 (http://dist.wso2.org/maven2/),
 apache.snapshots
(http://people.apache.org/repo/m2-snapshot-repository),
 apache-snapshots
(http://people.apache.org/repo/m2-snapshot-repository/),
 qpid-private (http://people.apache.org/~rajith/maven2/)


> Regards,
>
> Rajith
>
> On Jan 26, 2008 4:12 PM, Oleg Kalnichevski <olegk@apache.org> wrote:
>
>         On Sat, 2008-01-26 at 10:22 -0500, Rajith Attapattu wrote:
>         > Hi folks,
>         >
>         > I get the following compilation errors when trying to
>         compile synapse
>         > on trunk.
>         > Maybe the nio deps changed and the pom is not updated ?
>         > Anybody else seeing the same problem ?
>         >
>
>
>         Rajith,
>
>         This patch (attached to this message) upgrades Synapse
>         dependency on
>         HttpCore from 4.0-alpha7-SNAPSHOT to 4.0-beta1 and resolves
>         the
>         compilation errors you have been seeing.
>
>         I am unable to test the patch myself because I am also getting
>         lots of
>         compile errors related to org.apache.qpidity classes.
>
>         Oleg
>
>
>         > [INFO] [compiler:compile]
>         > Compiling 66 source files
>         >
>         to /opt/workspace/webservices/synapse/java/modules/transports/target/classes
>         > [INFO]
>         >
>         ------------------------------------------------------------------------
>         > [ERROR] BUILD FAILURE
>         > [INFO]
>         >
>         ------------------------------------------------------------------------
>         > [INFO] Compilation failure
>         >
>         > /opt/workspace/webservices/synapse/java/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/ClientHandler.java:[26,30] cannot find symbol
>         > symbol  : class HttpParamsLinker
>         > location: package org.apache.http.params
>         >
>         > /opt/workspace/webservices/synapse/java/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/ClientHandler.java:[129,12] cannot find symbol
>         > symbol  : variable HttpParamsLinker
>         > location: class
>         org.apache.synapse.transport.nhttp.ClientHandler
>         >
>         > /opt/workspace/webservices/synapse/java/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/ClientHandler.java:[163,12] cannot find symbol
>         > symbol  : variable HttpParamsLinker
>         > location: class
>         org.apache.synapse.transport.nhttp.ClientHandler
>         >
>         >
>         > --
>         > Regards,
>         >
>         > Rajith Attapattu
>         > Red Hat
>         > blog: http://rajith.2rlabs.com/
>
>
>         ---------------------------------------------------------------------
>         To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
>         For additional commands, e-mail: dev-help@synapse.apache.org
>
>
>
> --
> Regards,
>
> Rajith Attapattu
> Red Hat
> blog: http://rajith.2rlabs.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org




--

Regards,

Rajith Attapattu
Red Hat
blog: http://rajith.2rlabs.com/



--
Regards,

Rajith Attapattu
Red Hat
blog: http://rajith.2rlabs.com/ ------=_Part_4572_26679490.1201392562213--