-
1. Re: The JBoss Transactions JTA 4.2.3.SP7 compile problem
tcendrowski Aug 10, 2012 9:27 AM (in response to tcendrowski)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.
-
2. Re: The JBoss Transactions JTA 4.2.3.SP7 compile problem
jhalliday Aug 10, 2012 9:48 AM (in response to tcendrowski)export JAVA_HOME=/usr/local/jdk1.5.0_19
export ANT_HOME=/usr/loca/apache-ant-1.7.1
export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH
cd JBOSSTS_4_2_3_SP7
ant jta
...
[java] BUILD SUCCESSFUL
[java] Total time: 36 seconds
Not all that hard really.
-
3. Re: The JBoss Transactions JTA 4.2.3.SP7 compile problem
tcendrowski Aug 10, 2012 10:48 AM (in response to jhalliday)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.
-
4. Re: The JBoss Transactions JTA 4.2.3.SP7 compile problem
jhalliday Aug 10, 2012 10:54 AM (in response to tcendrowski)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.
-
5. Re: The JBoss Transactions JTA 4.2.3.SP7 compile problem
tcendrowski Aug 10, 2012 10:58 AM (in response to jhalliday)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.
-
6. Re: The JBoss Transactions JTA 4.2.3.SP7 compile problem
jhalliday Aug 10, 2012 11:07 AM (in response to tcendrowski)> 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? :-)
-
7. Re: The JBoss Transactions JTA 4.2.3.SP7 compile problem
tcendrowski Aug 10, 2012 1:00 PM (in response to jhalliday)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.
-
8. Re: The JBoss Transactions JTA 4.2.3.SP7 compile problem
tcendrowski Aug 13, 2012 7:35 AM (in response to jhalliday)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?