Latest Trunk Wont Build?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Latest Trunk Wont Build?

samhamilton
Hi List,

I have a problem building the latest release of OFBiz r894186 on my
server, building on my mac works fine so I know this has to be a setting
somewhere - can you guys help me out and tell me what I have missed?
It was building and running fine a week ago when I last updated svn.

Cheers
Sam

----
     [echo] [build] ========== Start Building Framework (Compile) ==========

init:

prepare:
    [mkdir] Created dir: /home/ofbiz-trunk/framework/start/build/classes
    [mkdir] Created dir: /home/ofbiz-trunk/framework/start/build/lib

classes:
  [javac16] Compiling 6 source files to
/home/ofbiz-trunk/framework/start/build/classes

BUILD FAILED
/home/ofbiz-trunk/build.xml:190: The following error occurred while
executing this line:
/home/ofbiz-trunk/framework/build.xml:147: The following error occurred
while executing this line:
/home/ofbiz-trunk/macros.xml:27: The following error occurred while
executing this line:
/home/ofbiz-trunk/framework/start/build.xml:37: Compiler Adapter
'javac1.6' can't be found.

Total time: 1 second
----

Java version is 1.6:
[root@hydrogen ofbiz-trunk]# java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)
----

and JAVA_HOME is set
[root@hydrogen ofbiz-trunk]# echo $JAVA_HOME
/usr/java/default


Reply | Threaded
Open this post in threaded view
|

Re: Latest Trunk Wont Build?

samhamilton
OK found a work around - it seems that the ant version on CentOS now
does not build so instead of running ant clean-all && ant run ./ant
clean-all && ./ant and it starts to build again

On 28/12/2009 15:30, Sam Hamilton wrote:

> Hi List,
>
> I have a problem building the latest release of OFBiz r894186 on my
> server, building on my mac works fine so I know this has to be a setting
> somewhere - can you guys help me out and tell me what I have missed?
> It was building and running fine a week ago when I last updated svn.
>
> Cheers
> Sam
>
> ----
>      [echo] [build] ========== Start Building Framework (Compile) ==========
>
> init:
>
> prepare:
>     [mkdir] Created dir: /home/ofbiz-trunk/framework/start/build/classes
>     [mkdir] Created dir: /home/ofbiz-trunk/framework/start/build/lib
>
> classes:
>   [javac16] Compiling 6 source files to
> /home/ofbiz-trunk/framework/start/build/classes
>
> BUILD FAILED
> /home/ofbiz-trunk/build.xml:190: The following error occurred while
> executing this line:
> /home/ofbiz-trunk/framework/build.xml:147: The following error occurred
> while executing this line:
> /home/ofbiz-trunk/macros.xml:27: The following error occurred while
> executing this line:
> /home/ofbiz-trunk/framework/start/build.xml:37: Compiler Adapter
> 'javac1.6' can't be found.
>
> Total time: 1 second
> ----
>
> Java version is 1.6:
> [root@hydrogen ofbiz-trunk]# java -version
> java version "1.6.0_16"
> Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
> Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)
> ----
>
> and JAVA_HOME is set
> [root@hydrogen ofbiz-trunk]# echo $JAVA_HOME
> /usr/java/default
>
>
>