-
15. Re: Does BlackTie works on IBM AIX OS ?
jeanemile Dec 21, 2010 7:23 AM (in response to tomjenkinson)Hi Tom,
Produce the AtmiBroker* files in the same location? Yes !
zttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/generated/tao_idl
$ ls -l
total 1712
-rw-r--r-- 1 zttg6228 zttg6228 75642 Dec 21 11:33 AtmiBrokerC.cpp
-rw-r--r-- 1 zttg6228 zttg6228 30128 Dec 21 11:33 AtmiBrokerC.h
-rw-r--r-- 1 zttg6228 zttg6228 1856 Dec 21 11:33 AtmiBrokerC.inl
-rw-r--r-- 1 zttg6228 zttg6228 67122 Dec 21 11:33 AtmiBrokerS.cpp
-rw-r--r-- 1 zttg6228 zttg6228 8521 Dec 21 11:33 AtmiBrokerS.h
-rw-r--r-- 1 zttg6228 zttg6228 719 Dec 21 11:33 AtmiBrokerS.inl
-rw-r--r-- 1 zttg6228 zttg6228 236518 Dec 21 11:25 CosTransactionsC.cpp
-rw-r--r-- 1 zttg6228 zttg6228 98818 Dec 21 11:25 CosTransactionsC.h
-rw-r--r-- 1 zttg6228 zttg6228 6876 Dec 21 11:25 CosTransactionsC.inl
-rw-r--r-- 1 zttg6228 zttg6228 280680 Dec 21 11:25 CosTransactionsS.cpp
-rw-r--r-- 1 zttg6228 zttg6228 31499 Dec 21 11:25 CosTransactionsS.h
-rw-r--r-- 1 zttg6228 zttg6228 3040 Dec 21 11:25 CosTransactionsS.inl
mvn clean generate-sources -Dbpa=aix32
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building Blacktie CORBA Transport C++ Bindings
[INFO] task-segment: [clean, generate-sources]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target (included: [**], excluded: [])
[INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
[INFO] [enforcer:enforce {execution: enforce-property}]
[INFO] [dependency:unpack-dependencies {execution: unpack-test-dependencies}]
[INFO] [dependency:unpack-dependencies {execution: unpack-runtime-dependencies}]
[INFO] Unpacking /users2/zttg6228/.m2/repository/apache-log4cxx/contrib/log4cxx/902683/log4cxx-902683-aix32.jarto
/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/runtime
with Includes **/* and excludes:null
[INFO] [dependency:unpack-dependencies {execution: unpack-compile-dependencies}]
[INFO] Unpacking /users2/zttg6228/.m2/repository/apache-log4cxx/contrib/log4cxx/902683/log4cxx-902683-aix32.jarto
/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile
with Includes **/* and excludes:null
[INFO] [dependency:copy-dependencies {execution: copy-compile-dependencies}]
[INFO] Copying ace-5.8.0-aix32.zip to /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/compile-dependencies/ace-5.8.0-aix32.zip
[INFO] [dependency:copy-dependencies {execution: copy-runtime-dependencies}]
[INFO] Copying ace-5.8.0-aix32.zip to /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/runtime-dependencies/ace-5.8.0-aix32.zip
[INFO] [dependency:copy-dependencies {execution: copy-test-dependencies}]
[INFO] [antrun:run {execution: unzip}]
[INFO] Executing tasks
[echo] unzip dependencies to test
[exec] find: 0652-019 The status on /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/test-dependencies is not valid.
[exec] Result: 1
[echo] unzip dependencies to runtime
[echo] unzip dependencies to compile
[INFO] Executed tasks
[INFO] [cpp:generate-sources {execution: generate-sources}]
init:
fileset.main.check:
generate-sources:
[mkdir] Created dir: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/generated/tao_idl
[apply] exec(): 0509-036 Cannot load program /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin/tao_idl because of the following errors:
[apply] rtld: 0712-001 Symbol _GetCatName__FiPCc was referenced
[apply] from module /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so(), but a runtime definition
[apply] of the symbol was not found.
[apply] rtld: 0712-001 Symbol _Getnumpunct__FPCc was referenced
[apply] from module /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so(), but a runtime definition
[apply] of the symbol was not found.
[apply] rtld: 0712-001 Symbol __ct__Q2_3std8_LocinfoFPCci was referenced
[apply] from module /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so(), but a runtime definition
[apply] of the symbol was not found.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to execute: Executing Ant script: /btcpp.build.xml [generate-sources]: Failed to execute.
apply returned: 255
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 47 seconds
[INFO] Finished at: Tue Dec 21 11:37:01 CET 2010
[INFO] Final Memory: 22M/56M
[INFO] ------------------------------------------------------------------------
-
16. Re: Does BlackTie works on IBM AIX OS ?
tomjenkinson Dec 21, 2010 6:03 AM (in response to jeanemile)Hi JeD,
This is very strange as those commands I asked you (which worked) to run should be precisely the same as the build is attempting to perform as /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/cpp-plugin/src/main/scripts/btcpp.build.xml (lines 180:206).
Please can you confirm that there are no files in /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/generated/tao_idl after running the "mvn clean generate-sources -Dbpa=aix32" step?
The really strange thing is that the tao_idl appears to have references to paths that it should not for instance blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so, in my build:
ldd target/cxx/compile/bin/tao_idl
linux-vdso.so.1 => (0x00007fff4ff2f000)
libTAO_IDL_BE.so.1.8.0 => target/cxx/compile/lib/libTAO_IDL_BE.so.1.8.0 (0x00007f36432c4000)
libTAO_IDL_FE.so.1.8.0 => target/cxx/compile/lib/libTAO_IDL_FE.so.1.8.0 (0x00007f3642fa5000)
libACE.so.5.8.0 => target/cxx/compile/lib/libACE.so.5.8.0 (0x00007f3642c15000)
libdl.so.2 => /lib64/libdl.so.2 (0x000000385ea00000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x000000385e600000)
librt.so.1 => /lib64/librt.so.1 (0x000000385f600000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003868a00000)
libm.so.6 => /lib64/libm.so.6 (0x000000385ee00000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x000000385fa00000)
libc.so.6 => /lib64/libc.so.6 (0x000000385e200000)
/lib64/ld-linux-x86-64.so.2 (0x000000385de00000)I would guess that you do not have the file: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so
But regardless, as I say, tao_idl should be using the copy of this file you will find in: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/lib/libTAO_IDL_FE.so
To that end, I have created a simplified build script which I would appreciate if you could run which allows us to get the debug from ant to see what is going on.
Please put the attached build.xml into /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx and cd to that folder.
Then please send the output of:
rm target/generated/tao_idl/* && ant -f build.xml -Didl.src.dir=../src/main/idl/ -Dproject.build.directory=target/ -debug
Thanks very much for your help with this!
Tom
-
build.xml 2.2 KB
-
-
17. Re: Does BlackTie works on IBM AIX OS ?
jeanemile Dec 21, 2010 7:15 AM (in response to tomjenkinson)Hi Tom,
I apreciate the time you devote to help me. I agree it is strange. Maybe a path mistake ?
I confirm there is not files after running step :
/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/generated/tao_idl
$ ls -l
total 0
My references to tao_idl :
cd /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin/
zttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin
$ ls
ace_gperf tao_idl
zttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin
$ ldd tao_idl
tao_idl needs:
/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_BE.so
/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so
/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libACE.so
/usr/lib/libxti.a(shr.o)
/usr/lib/libC.a(shr.o)
/usr/lib/libC.a(ansi_32.o)
/usr/lib/libpthreads.a(shr_xpg5.o)
/usr/lib/libc.a(shr.o)
/usr/lib/librtl.a(shr.o)
/usr/lib/libC.a(shr2.o)
/usr/lib/libC.a(shr3.o)
/usr/lib/libpthreads.a(shr_comm.o)
/usr/lib/libdl.a(shr.o)
/usr/lib/libc.a(posix_aio.o)
/usr/lib/libc.a(pse.o)
/usr/lib/libC.a(shrcore.o)
/usr/lib/libC.a(ansicore_32.o)
/unix
/usr/lib/libcrypt.a(shr.o)
I would guess that you do not have the file: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so
I got it :
ls -l /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so
lrwxrwxrwx 1 zttg6228 zttg6228 37 Nov 26 16:22 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so -> ../TAO/TAO_IDL/libTAO_IDL_FE.so.1.8.0
zttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/lib
$ ls
acelinks libTAO_AnyTypeCode.so.1.8.0 libTAO_IDL_FE.so.1.8.0 libTAO_PI_Server.so.1.8.0
libACE.so libTAO_CodecFactory.so libTAO_IORInterceptor.so libTAO_PortableServer.so
libACE.so.5.8.0 libTAO_CodecFactory.so.1.8.0 libTAO_IORInterceptor.so.1.8.0 libTAO_PortableServer.so.1.8.0
libACE_gperf_lib.so libTAO_CosNaming.so libTAO_ObjRefTemplate.so libTAO_Valuetype.so
libACE_gperf_lib.so.5.8.0 libTAO_CosNaming.so.1.8.0 libTAO_ObjRefTemplate.so.1.8.0 libTAO_Valuetype.so.1.8.0
libTAO.so libTAO_IDL_BE.so libTAO_PI.so liblog4cxx.a
libTAO.so.1.8.0 libTAO_IDL_BE.so.1.8.0 libTAO_PI.so.1.8.0
libTAO_AnyTypeCode.so libTAO_IDL_FE.so libTAO_PI_Server.so
The Output :
ant -f build.xml -Didl.src.dir=../src/main/idl/ -Dproject.build.directory=target/ -debug
Apache Ant version 1.7.1 compiled on June 27 2008
Buildfile: build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.5 in: /usr/java5/jre
Detected OS: AIX
Adding reference: ant.ComponentHelper
Setting ro project property: idl.src.dir -> ../src/main/idl/
Setting ro project property: project.build.directory -> target/
Setting ro project property: ant.file -> /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/build.xml
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/build.xml with URI = file:/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/build.xml
Setting ro project property: ant.project.name -> foo
Adding reference: foo
Setting ro project property: ant.file.foo -> /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/build.xml
Project base dir set to: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
+Target:
+Target: generate
Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor
Adding reference: ant.executor
Build sequence for target(s) `generate' is [generate]
Complete build sequence is [generate, ]
generate:
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
Setting project property: idl.output.dir -> target/generated/tao_idl
Property "toolchain.compiler" has not been set
Condition false; not setting exe
Property "toolchain.compiler" has not been set
Condition true; setting exe to
Setting project property: exe ->
Setting project property: ace.lroot -> target//cxx/compile
Setting project property: ace.iroot -> target//cxx/compile/include
Setting project property: ace.broot -> target//cxx/compile/bin
Setting project property: idl.compiler -> target//cxx/compile/bin/tao_idl
Setting project property: gperf -> target//cxx/compile/bin/ace_gperf
[available] Found: target/cxx/compile/bin/tao_idl
Setting project property: tao_idl.exe.exists -> true
[chmod] Current OS is AIX
FileSet: Setup scanner in dir /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin with patternSet{ includes: [tao_idl] excludes: [] }
[chmod] Executing 'chmod' with arguments:
[chmod] '755'
[chmod] '/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin/tao_idl'
[chmod]
[chmod] The ' characters around the executable and arguments are
[chmod] not part of the command.
Execute:Java13CommandLauncher: Executing 'chmod' with arguments:
'755'
'/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin/tao_idl'
The ' characters around the executable and arguments are
not part of the command.
[chmod] Applied chmod to 1 file and 0 directories.
[available] Found: target/cxx/compile/bin/ace_gperf
Setting project property: gperf.exists -> true
[chmod] Current OS is AIX
FileSet: Setup scanner in dir /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin with patternSet{ includes: [ace_gperf] excludes: [] }
[chmod] Executing 'chmod' with arguments:
[chmod] '755'
[chmod] '/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin/ace_gperf'
[chmod]
[chmod] The ' characters around the executable and arguments are
[chmod] not part of the command.
Execute:Java13CommandLauncher: Executing 'chmod' with arguments:
'755'
'/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin/ace_gperf'
The ' characters around the executable and arguments are
not part of the command.
[chmod] Applied chmod to 1 file and 0 directories.
[mkdir] Skipping /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/generated/tao_idl because it already exists.
Property "env.Path" has not been set
Adding reference: idl.sources
[apply] Current OS is AIX
[apply] Setting environment variable: ACE_ROOT=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile
[apply] Setting environment variable: TAO_ROOT=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/include
[apply] Setting environment variable: LD_LIBRARY_PATH=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/lib:/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin
[apply] Setting environment variable: Path=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/${env.Path}:/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/lib:/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin
fileset: Setup scanner in dir /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl with patternSet{ includes: [**/*.idl] excludes: [] }
[apply] AtmiBroker.idl added as AtmiBrokerC.cpp doesn't exist.
[apply] CosTransactions.idl added as CosTransactionsC.cpp doesn't exist.
[apply] Executing 'target//cxx/compile/bin/tao_idl' with arguments:
[apply] '-o'
[apply] 'target/generated/tao_idl'
[apply] '-Wb,pre_include=ace/pre.h'
[apply] '-Wb,post_include=ace/post.h'
[apply] '-Itarget//cxx/compile/include/tao'
[apply] '-Itarget//cxx/compile/include/orbsvcs'
[apply] '-I../src/main/idl/'
[apply] '-Wb,export_macro=BLACKTIE_IDL_DLL'
[apply] '-Wb,export_include=atmiBrokerIdlMacro.h'
[apply] '-DTAO=1'
[apply] '/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl/AtmiBroker.idl'
[apply]
[apply] The ' characters around the executable and arguments are
[apply] not part of the command.
Execute:Java13CommandLauncher: Executing 'target//cxx/compile/bin/tao_idl' with arguments:
'-o'
'target/generated/tao_idl'
'-Wb,pre_include=ace/pre.h'
'-Wb,post_include=ace/post.h'
'-Itarget//cxx/compile/include/tao'
'-Itarget//cxx/compile/include/orbsvcs'
'-I../src/main/idl/'
'-Wb,export_macro=BLACKTIE_IDL_DLL'
'-Wb,export_include=atmiBrokerIdlMacro.h'
'-DTAO=1'
'/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl/AtmiBroker.idl'
The ' characters around the executable and arguments are
not part of the command.
[apply] exec(): 0509-036 Cannot load program target//cxx/compile/bin/tao_idl because of the following errors:
[apply] rtld: 0712-001 Symbol _GetCatName__FiPCc was referenced
[apply] from module /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so(), but a runtime definition
[apply] of the symbol was not found.
[apply] rtld: 0712-001 Symbol _Getnumpunct__FPCc was referenced
[apply] from module /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so(), but a runtime definition
[apply] of the symbol was not found.
[apply] rtld: 0712-001 Symbol __ct__Q2_3std8_LocinfoFPCci was referenced
[apply] from module /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so(), but a runtime definition
[apply] of the symbol was not found.
BUILD FAILED
/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/build.xml:28: apply returned: 255
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:636)
at org.apache.tools.ant.taskdefs.ExecuteOn.runExec(ExecuteOn.java:408)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:487)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Total time: 1 second
-
18. Re: Does BlackTie works on IBM AIX OS ?
tomjenkinson Dec 21, 2010 8:09 AM (in response to jeanemile)Hi JeD,
I agree it looks somehow like a path mistake also. But it is certainly strange to see one in this manner.
From seperate shells, please can you confirm that the following commands do not work:
COMMAND SET 1
-------------
export ACE_ROOT=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile
export TAO_ROOT=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/include
export LD_LIBRARY_PATH=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/lib:/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin
export Path=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/${env.Path}:/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/lib:/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin
./target//cxx/compile/bin/tao_idl -o target/generated/tao_idl -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -Itarget//cxx/compile/include/tao -Itarget//cxx/compile/include/orbsvcs -I../src/main/idl/ -Wb,export_macro=BLACKTIE_IDL_DLL -Wb,export_include=atmiBrokerIdlMacro.h -DTAO=1 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl/AtmiBroker.idlCOMMAND SET 2
-------------
export PATH=$PATH:target/cxx/compile/bin/
export TAO_ROOT=target/cxx/compile/include/
export LD_LIBRARY_PATH=target/cxx/compile/lib/
./target/cxx/compile/bin/tao_idl -o target/generated/tao_idl/ -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -Itarget/cxx/compile/include/tao -Itarget/cxx/compile/include/orbsvcs -I../src/main/idl/ -Wb,export_macro=BLACKTIE_IDL_DLL -Wb,export_include=atmiBrokerIdlMacro.h -DTAO=1 ../src/main/idl/AtmiBroker.idlCOMMAND SET 3
-------------
export ACE_ROOT=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile
export TAO_ROOT=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/include
export LD_LIBRARY_PATH=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/lib:/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin
./target//cxx/compile/bin/tao_idl -o target/generated/tao_idl -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -Itarget//cxx/compile/include/tao -Itarget//cxx/compile/include/orbsvcs -I../src/main/idl/ -Wb,export_macro=BLACKTIE_IDL_DLL -Wb,export_include=atmiBrokerIdlMacro.h -DTAO=1 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl/AtmiBroker.idlCOMMAND SET 4
-------------
export ACE_ROOT=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile
export TAO_ROOT=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/include
export LD_LIBRARY_PATH=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/lib:/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin
./target/cxx/compile/bin/tao_idl -o target/generated/tao_idl/ -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -Itarget/cxx/compile/include/tao -Itarget/cxx/compile/include/orbsvcs -I../src/main/idl/ -Wb,export_macro=BLACKTIE_IDL_DLL -Wb,export_include=atmiBrokerIdlMacro.h -DTAO=1 ../src/main/idl/AtmiBroker.idlCOMMAND SET 5
-------------
export PATH=$PATH:target/cxx/compile/bin/
export TAO_ROOT=target/cxx/compile/include/
export LD_LIBRARY_PATH=target/cxx/compile/lib/
./target//cxx/compile/bin/tao_idl -o target/generated/tao_idl -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -Itarget//cxx/compile/include/tao -Itarget//cxx/compile/include/orbsvcs -I../src/main/idl/ -Wb,export_macro=BLACKTIE_IDL_DLL -Wb,export_include=atmiBrokerIdlMacro.h -DTAO=1 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl/AtmiBroker.idlIn these command sets, the first one is interpretted from your output from Ant that you just posted that did not work when executed by Any. The second is my interprettation of the ant script using relative paths that did work for you earlier. I have also added command set 3 which operates as per the ant script but does not set the path. Finally, I have provided command set 4 which sets the paths as per the ant script, but executes the idl_compiler using relative paths and command set 5 which is the oppposite.
Thanks for helping us to debug this!
Tom -
19. Re: Does BlackTie works on IBM AIX OS ?
jeanemile Dec 21, 2010 9:21 AM (in response to tomjenkinson)Hi Tom,
I'm sorry, all of yours commands work:
COMMAND SET 1
-------------zttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ export ACE_ROOT=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compilezttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ export TAO_ROOT=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/includezttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ export LD_LIBRARY_PATH=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/lib:/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/binzttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ export PATH=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/${PATH}:/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/lib:/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/binzttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ ./target//cxx/compile/bin/tao_idl -o target/generated/tao_idl -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -Itarget//cxx/compile/include/tao -Itarget//cxx/compile/include/orbsvcs -I../src/main/idl/ -Wb,export_macro=BLACKTIE_IDL_DLL -Wb,export_include=atmiBrokerIdlMacro.h -DTAO=1 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl/AtmiBroker.idl
processing /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl/AtmiBroker.idlCOMMAND SET 2
-------------zttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ export PATH=$PATH:target/cxx/compile/bin/zttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ export TAO_ROOT=target/cxx/compile/include/zttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ export LD_LIBRARY_PATH=target/cxx/compile/lib/zttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ ./target/cxx/compile/bin/tao_idl -o target/generated/tao_idl/ -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -Itarget/cxx/compile/include/tao -Itarget/cxx/compile/include/orbsvcs -I../src/main/idl/ -Wb,export_macro=BLACKTIE_IDL_DLL -Wb,export_include=atmiBrokerIdlMacro.h -DTAO=1 ../src/main/idl/AtmiBroker.idl
processing ../src/main/idl/AtmiBroker.idlCOMMAND SET 3
-------------zttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ export ACE_ROOT=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compilezttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ export TAO_ROOT=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/includezttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ export LD_LIBRARY_PATH=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/lib:/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/binzttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ ./target//cxx/compile/bin/tao_idl -o target/generated/tao_idl -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -Itarget//cxx/compile/include/tao -Itarget//cxx/compile/include/orbsvcs -I../src/main/idl/ -Wb,export_macro=BLACKTIE_IDL_DLL -Wb,export_include=atmiBrokerIdlMacro.h -DTAO=1 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl/AtmiBroker.idl
processing /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl/AtmiBroker.idl
COMMAND SET 4
-------------$ export ACE_ROOT=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile
export TAO_ROOT=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/include
export LD_LIBRARY_PATH=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/lib:/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/binzttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ export TAO_ROOT=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/includezttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ export LD_LIBRARY_PATH=/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/lib:/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/binzttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ ./target/cxx/compile/bin/tao_idl -o target/generated/tao_idl/ -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -Itarget/cxx/compile/include/tao -Itarget/cxx/compile/include/orbsvcs -I../src/main/idl/ -Wb,export_macro=BLACKTIE_IDL_DLL -Wb,export_include=atmiBrokerIdlMacro.h -DTAO=1 ../src/main/idl/AtmiBroker.idlprocessing ../src/main/idl/AtmiBroker.idl
COMMAND SET 5
-------------$ export PATH=$PATH:target/cxx/compile/bin/
export TAO_ROOT=target/cxx/compile/include/zttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ export TAO_ROOT=target/cxx/compile/include/zttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ export LD_LIBRARY_PATH=target/cxx/compile/lib/
./target//cxx/compile/bin/tao_idl -o target/generated/tao_idl -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -Itarget//cxx/compile/include/tao -Itarget//cxx/compile/include/orbsvcs -I../src/main/idl/ -Wb,export_macro=BLACKTIE_IDL_DLL -Wb,export_include=atmiBrokerIdlMacro.h -DTAO=1 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl/AtmiBroker.idl
zttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
$ ./target//cxx/compile/bin/tao_idl -o target/generated/tao_idl -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -Itarget//cxx/compile/include/tao -Itarget//cxx/compile/include/orbsvcs -I../src/main/idl/ -Wb,export_macro=BLACKTIE_IDL_DLL -Wb,export_include=atmiBrokerIdlMacro.h -DTAO=1 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl/AtmiBroker.idl
processing /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl/AtmiBroker.idl -
20. Re: Does BlackTie works on IBM AIX OS ?
tomjenkinson Dec 21, 2010 10:22 AM (in response to jeanemile)Hi JeD,
OK, so "command 1" and the ant script should be identical so I guess this could be something to do with ant on AIX. I have slightly modified the ant script and would greatly appreciate it if you could download and run the updated script and let me know what you get?
rm -rf target/generated/tao_idl/ && ant -f build.xml -Didl.src.dir=../src/main/idl/ -Dproject.build.directory=target/ -debug
What I have updated is to:
1. include the environment property setting, and
2. ensure that the environment does not propagate to the tao_idl executio and
3. refer to "PATH" as "PATH" rather than "Path".
If the script does not work, please can you change the "newenvironment" setting from "true" to "false" and see if that makes any difference?
Thanks!
Tom
-
build.xml 2.3 KB
-
-
21. Re: Does BlackTie works on IBM AIX OS ?
jeanemile Dec 21, 2010 10:57 AM (in response to tomjenkinson)Hi Tom,
I think this message looks awesome : BUILD SUCCESSFUL
The ' characters around the executable and arguments are
not part of the command.
[apply] processing /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl/AtmiBroker. idl
[apply] Executing 'target//cxx/compile/bin/tao_idl' with arguments:
[apply] '-o'
[apply] 'target/generated/tao_idl'
[apply] '-Wb,pre_include=ace/pre.h'
[apply] '-Wb,post_include=ace/post.h'
[apply] '-Itarget//cxx/compile/include/tao'
[apply] '-Itarget//cxx/compile/include/orbsvcs'
[apply] '-I../src/main/idl/'
[apply] '-Wb,export_macro=BLACKTIE_IDL_DLL'
[apply] '-Wb,export_include=atmiBrokerIdlMacro.h'
[apply] '-DTAO=1'
[apply] '/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl/CosTransactions.idl'
[apply]
[apply] The ' characters around the executable and arguments are
[apply] not part of the command.
Execute:Java13CommandLauncher: Executing 'target//cxx/compile/bin/tao_idl' with arguments:
'-o'
'target/generated/tao_idl'
'-Wb,pre_include=ace/pre.h'
'-Wb,post_include=ace/post.h'
'-Itarget//cxx/compile/include/tao'
'-Itarget//cxx/compile/include/orbsvcs'
'-I../src/main/idl/'
'-Wb,export_macro=BLACKTIE_IDL_DLL'
'-Wb,export_include=atmiBrokerIdlMacro.h'
'-DTAO=1'
'/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl/CosTransactions.idl'The ' characters around the executable and arguments are
not part of the command.
[apply] processing /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/src/main/idl/CosTransact ions.idl
[apply] Applied target//cxx/compile/bin/tao_idl to 2 files and 0 directories.BUILD SUCCESSFUL
Total time: 6 secondsThanks
-
22. Re: Does BlackTie works on IBM AIX OS ?
tomjenkinson Dec 21, 2010 10:56 AM (in response to jeanemile)Hi JeD,
That is great news, unfortunately I expect it may be the first of several issues on AIX as the build is currently set up for running with gcc on UNIX rather than XL.
The things that I expect we need to change are:
1. We will need to change cpp-plugin/src/main/scripts/btcpp.build.xml to use PATH rather than Path.
2. We will need to change the compiler from gcc to ?? - unfortunately I do not even know the name of the compiler
3. We will probably need to change the flags that we supply to the compiler, again I do not really know the correct flags for this either.
I have created a branch called blacktie-2_0_0_Final-aix based on the blacktie_2_0_0_Final tag for us to work on, you can get this via:
cd /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final
svn switch https://svn.jboss.org/repos/blacktie/branches/blacktie-2_0_0_Final-aix
I have already committed a fix for part 1 above to this branch. For the rest of the fixes we could really do with your help!
For example, do you know the name of the XL compiler? If so, we can update blacktie-utils/cpp-plugin/src/main/scripts/btcppp.build.xml to replace the word gcc to whatever this compiler is, plus we will need to change all the compiler options.
We look forward to working with you on this!
Tom
-
23. Does BlackTie works on IBM AIX OS ?
tomjenkinson Jan 26, 2011 7:59 AM (in response to saravanan77)Hi Saravanan A,
Just so you know, with the great assistance of JeD we now have a working version on AIX!
You will need to build this from source and can get the branch here:
https://svn.jboss.org/repos/blacktie/branches/blacktie-2_0_0_Final-aix
We have also reflected these changes into trunk:
https://svn.jboss.org/repos/blacktie/trunk
and our latest release:
https://svn.jboss.org/repos/blacktie/tags/blacktie-3_0_0_M1
As the team doesn't currently build on AIX ourselves we rely on the community to give feedback if we break anything
Tom