doydwang / barchart-udt

Automatically exported from code.google.com/p/barchart-udt
0 stars 0 forks source link

Error "osfamily" attribute while mvn compile #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download barchart-udt
2. Change my system ant version to 1.6.5
3. compile the system using "mvn compile"

What is the expected output? What do you see instead?
The package has to be compiled successfully, yet I saw the build error as 
following:
target-check-library:
     [echo] ### CHECK LIBRARY
     [echo]       /home/kimhai/Dropbox/workspace/barchart-udt/barchart-
udt4/target/cpptasks/libSocketUDT-linux-x86-32.so
[INFO] --------------------------------------------------------------------
----
[ERROR] BUILD ERROR
[INFO] --------------------------------------------------------------------
----
[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
/home/kimhai/Dropbox/workspace/barchart-udt/barchart-
udt4/build/script/build-maven.ant:374: The <exec> type doesn't support the 
"osfamily" attribute.

What version of the product are you using? On what operating system?
This is the output for build-eclipse.sh
   build-eclipse.sh: detected OS=linux
   build-eclipse.sh: detected MACH=i686
   build-eclipse.sh: detected LIB_EXTENSION=so
   build-eclipse.sh: error; unecpected KIND=
And the output for mvn --version:
   Maven version: 2.0.9
   Java version: 1.6.0_16
   OS name: "linux" version: "2.6.28-16-generic" arch: "i386" Family: 
"unix"
I'm using Ubuntu 9.0.4

Please provide any additional information below.
How to config the system to compile this project properly?

Original issue reported on code.google.com by lenguyen...@gmail.com on 26 Oct 2009 at 11:35

GoogleCodeExporter commented 8 years ago
i need to change Ant version to 1.6.5 because it threw error "Error 
configuring: 
org.apache.maven.plugins:maven-antrun-plugin. Reason: 
java.lang.NoSuchMethodError: 
org.apache.tools.ant.util.FileUtils.close(Ljava/io/InputStream;)V " whenever I 
build it 
with Ant 1.7.1

Original comment by lenguyen...@gmail.com on 27 Oct 2009 at 7:33

GoogleCodeExporter commented 8 years ago
osfamily is supported only by ant for versions >= 1.7

Original comment by cabec...@gmail.com on 29 Jun 2010 at 3:28

GoogleCodeExporter commented 8 years ago
current maven build is in libmo; pending migration to maven-nar-plugin; 
meanwhile, use eclipse ide ineteractive builder;

Original comment by Andrei.Pozolotin on 31 Dec 2010 at 8:38