You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Robert Greig <ro...@gmail.com> on 2006/12/22 22:16:43 UTC

Trunk build broken

Hi,

It appears the trunk build is broken due to the commit for revision 489715.

The first problem was that protocol-version.xml had this in it:

<exec dir="${gentools.home}/src" executable="pwd" />

which does not work on Windows. However that appears only to be
informational (?) so I just commented it out.

After that I get this failure:

generate:
     [echo] XML files to be processed: ../../specs/amqp.0-8.xml ../../specs/clus
ter.0-8.xml
     [java] java.lang.NoClassDefFoundError: org/apache/qpid/gentools/Main
     [java] Exception in thread "main"
     [java] Java Result: 1
[INFO] Executed tasks
[INFO] Registering compile source root C:\redhat\trunkclean\java\common\target\g
enerated-sources\xsl
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 69 source files to C:\redhat\trunkclean\java\common\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

C:\redhat\trunkclean\java\common\src\main\java\org\apache\qpid\framing\ProtocolI
nitiation.java:[137,29] cannot find symbol
symbol  : class ProtocolVersionList
location: class org.apache.qpid.framing.ProtocolInitiation
etc. presumably as a result of the failure to generate.

Any ideas? Is this just a windows problem?

RG

Re: Trunk build broken

Posted by Steve Vinoski <vi...@iona.com>.
On Dec 23, 2006, at 9:51 AM, Carl Trieloff wrote:

>
>>
>> Yes, I think an ant target would make sense since it is not just for
>> the Java broker/client. As long as we can set up a dependency so that
>> it all builds when you build the java broker I think that would be
>> workable.
>>
>
> Agreed, Kim and I took a brief look at that but did not get time to  
> figure it out before I needed to go do final shopping :-)

As I've suggested before, wouldn't it be easier if this code  
generation stuff were all just written in Python? Then there'd be no  
compilation necessary, there'd be no Java required for the non-Java  
folks, and it'd probably be a lot less code too.

--steve



Re: Trunk build broken

Posted by Carl Trieloff <cc...@redhat.com>.
>
> Yes, I think an ant target would make sense since it is not just for
> the Java broker/client. As long as we can set up a dependency so that
> it all builds when you build the java broker I think that would be
> workable.
>

Agreed, Kim and I took a brief look at that but did not get time to 
figure it out before I needed to go do final shopping :-)

Carl.


Re: Trunk build broken

Posted by Robert Greig <ro...@gmail.com>.
On 23/12/06, Carl Trieloff <cc...@redhat.com> wrote:
>
> If you run ./build in gentools before mvn then it all works...

Except on Windows of course...

>  We
> should discuss abit as having a mvn
> build for gentools is most likely not the way to go as it is used for
> C++ and other languages also. I think
> that an ant target for that which is linked into the mvn build might be
> the way to go.

Yes, I think an ant target would make sense since it is not just for
the Java broker/client. As long as we can set up a dependency so that
it all builds when you build the java broker I think that would be
workable.

RG

Re: Trunk build broken

Posted by Carl Trieloff <cc...@redhat.com>.
If you run ./build in gentools before mvn then it all works...  We 
should discuss abit as having a mvn
build for gentools is most likely not the way to go as it is used for 
C++ and other languages also. I think
that an ant target for that which is linked into the mvn build might be 
the way to go.

Carl.

Robert Greig wrote:
> On 22/12/06, Robert Greig <ro...@gmail.com> wrote:
>
>> Any ideas? Is this just a windows problem?
>
> I had a look and the problem is that gentools is apparently not
> integrated into the build system. If you go in there and manually
> compile the java under the src directory, the build then works.
>
> RG


Re: Trunk build broken

Posted by Robert Greig <ro...@gmail.com>.
On 22/12/06, Robert Greig <ro...@gmail.com> wrote:

> Any ideas? Is this just a windows problem?

I had a look and the problem is that gentools is apparently not
integrated into the build system. If you go in there and manually
compile the java under the src directory, the build then works.

RG