cancel
Showing results for 
Search instead for 
Did you mean: 

The problem with compiling the source.

kharkov_max
Champ in-the-making
Champ in-the-making
Advice please.
Use the system freebsd81, jdk16, apache-ant1.7
I downloaded the source alfresco.
Next, run the compilation command ant-f HEAD / root / build.xml build
As a result, immediately get an error

Buildfile:. / HEAD / root / build.xml

init:
     [Echo] user.home = / root

BUILD FAILED
/ Usr / home / temp / Alfresco / HEAD / root / build.xml: 135: Unable to create javax script engine for javascript

Total time: 0 seconds

I understand that alfresco not announce under freebsd, but I wanted to adapt the build process under freebsd.
Help please, I'll be glad to any advice.
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
What command are you running, is it just an artifact of you posting to these forums that your space characters are in the wrong place?

ant-f HEAD / root / build.xml build

kharkov_max
Champ in-the-making
Champ in-the-making
I use the command

ant -f ./HEAD/root/build.xml build

Sorry for my english.

gyro_gearless
Champ in-the-making
Champ in-the-making
Chances are good that you are the first person on earth to compile Alfresco under FreeBSD 🙂

If i remember right, Java was never officially supported on FreeBSD (except some lame announcements from Sun marketing dept.), so i suspect that your Java version is missing the required scripting support (aka BeanShell). I noticed there is a separate "lang/bsh" package in the ports collection, maybe this could cure your problem?
Just an elaborated guess, unfortunately i dont have a working FreeBSD system in reach….

Cheers and good luck
Gyro

mrogers
Star Contributor
Star Contributor
You may have better luck using OpenJDK IcedTea6 1.8 if you don't have a sun JDK