Atomikos Forum

build failure

I'm trying to build TE in order to work issue 68282.  I'm using the 3.7.0M4 distro.  Ant build gives tons of errors, beginning with:

[replaceregexp] The following file is missing: '/local/AtomikosTransactionsEssen
tials-3.7.0M4/sources/com/atomikos/icatch/system/Configuration.java'
    [echo] Compiling module with DEBUG flag set to: true
    [javac] Compiling 288 source files to /local/AtomikosTransactionsEssentials-
3.7.0M4/tmp
    [javac] /local/AtomikosTransactionsEssentials-3.7.0M4/sources/com/atomikos/d
atasource/pool/AbstractXPooledConnection.java:32: package com.atomikos.icatch.sy
stem does not exist
    [javac] import com.atomikos.icatch.system.Configuration;

There is indeed no "system" directory under /sources or anywhere else in the distribution.  Please advise.
Blaine Simpson Send private email
Friday, October 29, 2010
 
 
UPDATE

I remember that I had encountered this same problem back I think with the M1 distribution, and I had fixed it that time by adding the jar file dist/transaction.jar to the javac classpath (which still indicates a bad build system, since essential low level build targets depend on dist assemblies not reproducable from the distribution), but with M4 you have added new dependencies which seem to not be satisfied by anything at all within the distribution zip:

-compile-without-hibernate:
[replaceregexp] The following file is missing: '/local/AtomikosTransactionsEssentials-3.7.0M4/sources/com/atomikos/icatch/system/Configuration.java'
    [echo] Compiling module with DEBUG flag set to: true
    [javac] Compiling 288 source files to /local/AtomikosTransactionsEssentials-3.7.0M4/tmp
    [javac] /local/AtomikosTransactionsEssentials-3.7.0M4/sources/com/atomikos/jms/DefaultJtaMessageProducer.java:34: warning: sun.misc.GC is internal proprietary API and may be removed in a future release
    [javac] import sun.misc.GC.LatencyRequest;
    [javac]
(and more with a total of 18 compilation errors).

sun.misc.GC.LatencyRequest isn't satisfied by anything you provide.
Blaine Simpson Send private email
Sunday, October 31, 2010
 
 
Hi,

Looks like a bug in our source assembly/inclusion mechanism - thanks for reporting. Should be fixed in 3.7.0M5...

HTH
Guy Pardon Send private email
Tuesday, November 02, 2010
 
 
<groupId>com.atomikos</groupId>                                    <artifactId>transactions</artifactId>

was missing for sources.

I just added It
Pascal Leclercq Send private email
Tuesday, November 02, 2010
 
 
How are you going to fix a standalone Ant build problem by just updating Maven configs?
Blaine Simpson Send private email
Wednesday, November 03, 2010
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics