I think that there is something wrong with classpath, because .jar libraries are in packet, but when ant script is running packages from .jar files aren't provided. Code which sets classpath in build.xml is quite hard to undestand because of many variables and links between them so I think that someone who was involved in creating JBoss Transactions could help quite easily in this case.
[java] BUILD SUCCESSFUL
[java] Total time: 36 seconds
Not all that hard really.
Under Windows it's not working. This is my (not entire) output:
Then I've collected lacking files but then I got errors about functions in this files so I gave up. It's log before I suplemmented those files.
Well your bug reporting skills are gradually improving. At least you managed to mention the O/S this time. Still no mention of the version of java or ant though, nor of the environment settings, nor of the ant target you're running. Or the modifications you made (what files, where). So still not much hope I'll be able to reproduce and diagnose the problem. /sigh.
jdk1.5.0_17, Ant 1.8.2, JAVA_HOME, ANT_HOME and PATH are set, I got the same kind of errors on every taget. This log was from ant jta. At first I'd like to compile ant jbossjta. I didn't make any modifications.
> Ant 1.8.2
That's known to contaminate the build path with its own libs - the older build scripts don't have the necessary params to isolate things fully. Fall back to 1.7.x
> This log was from ant jta.
which I just demonstrated does come with all the bits you need, so it's likely just a path composition problem.
> At first I'd like to compile ant jbossjta
yet you make no mention of the value of JBOSS_HOME, which may be just a tad relevant to an integration build.
> I didn't make any modifications.
so the whole thing about having collected lacking files was just a red herring to distract me? :-)
JBOSS_HOME was set properly (jboss version 4.2.3), without it script wouldn't even start. The exact situation is that files aren't lacking, ant just can't find them in .jars and it's main problem. So I've tried to add manually this files to buildsystem/classes, but what happened next is described few posts higher.. So packages are in libs, but I receive messages that this packages doesn't exist etc. because ant can't find them. This problem occurs after starting script without any changes. For now I have wait to monday to check if it will work. Thanks for answers.
Build with ant 1.7.0. is successful, .jar files are generated, but I still get few messages about lacking packages, i.e. "package com.arjuna.orbportability does not exist". "
D:\clean\JBOSSTS_4_2_3_SP7\atsintegration\classes\com\arjuna\ats\internal\jbossatx\jts\PropagationContextWrapper.java:82: cannot find symbol
symbol : class PropagationContext
location: class com.arjuna.ats.internal.jbossatx.jts.PropagationContextWrapper
public PropagationContextWrapper(PropagationContext tpc)" etc.
Should I worry about this?