Buildfile: build.xml does not exist!

Hi guys, I’ve created that issue because I thought there is someting broken in the latest releases of jicofo, but the issue was closed, so i guess it’s not an jicofo issue but a an issue on my side.

I’m running on CentOS: 7

mvn -version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
Maven home: /opt/apache-maven-3.3.9
Java version: 1.8.0_77, vendor: Oracle Corporation
Java home: /usr/java/jdk1.8.0_77/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-1062.12.1.el7.x86_64", arch: "amd64", family: "unix"
ant -version
Apache Ant(TM) version 1.9.7 compiled on April 9 2016

I’m updating my Jitis-Meet from time to time with an ansible playbook. I can’t say what the last running version was, It was working all the time, but now I was about to update to:

  • jitsi_meet_version: “jitsi-meet_4277”
  • jitsi_jicofo_version: “jitsi-meet_4277”
  • jitsi_videobridge_version: 1132

The last 4 tasks which are executed:

  1. git clone jicofo
  2. mvn -U clean package -DskipTests
  3. mvn dependency:get -DartifactId=maven-ant-tasks -DgroupId=org.apache.maven -Dversion=2.1.3
  4. ant -lib ~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar dist.lin64

Task 4 failes with the error message: Buildfile: build.xml does not exist!. I saw an old thread talking about the java version. But this seems ok.

update-alternatives --config java

There are 2 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
 + 1           /usr/java/jdk1.8.0_77/jre/bin/java
*  2           java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el7_7.x86_64/jre/bin/java)

Enter to keep the current selection[+], or type selection number: ^C
update-alternatives --config javac

There is 1 program that provides 'javac'.

  Selection    Command
-----------------------------------------------
*+ 1           /usr/java/jdk1.8.0_77/bin/javac

So do I need a maven alternative command to my here mentioned task 4 where I was using ant... and what is the maven command?

mvn package -DskipTests will produce target/jicofo-1.1-SNAPSHOT-archive.zip.

1 Like

Thanks, I’ve replaced the command of the 4th task with the one you suggested, adapted the paths and executed it again. Unfortunately it throw another error on executing make in the jitsi-meet dir.

# make
./node_modules/.bin/webpack -p
/var/www/public/jitsi.my-domain.com/node_modules/webpack-cli/bin/cli.js:244
				throw err;
				^

ReferenceError: URL is not defined
    at Object.<anonymous> (/var/www/public/jitsi.my-domain.com/webpack.config.js:43:33)
    at Module._compile (/var/www/public/jitsi.my-domain.com/node_modules/v8-compile-cache/v8-compile-cache.js:178:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Module.require (module.js:597:17)
    at require (/var/www/public/jitsi.my-domain.com/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at WEBPACK_OPTIONS (/var/www/public/jitsi.my-domain.com/node_modules/webpack-cli/bin/convert-argv.js:133:13)
    at requireConfig (/var/www/public/jitsi.my-domain.com/node_modules/webpack-cli/bin/convert-argv.js:135:6)
    at /var/www/public/jitsi.my-domain.com/node_modules/webpack-cli/bin/convert-argv.js:142:17
    at Array.forEach (<anonymous>)
    at module.exports (/var/www/public/jitsi.my-domain.com/node_modules/webpack-cli/bin/convert-argv.js:140:15)
    at yargs.parse (/var/www/public/jitsi.my-domain.com/node_modules/webpack-cli/bin/cli.js:241:39)
    at Object.parse (/var/www/public/jitsi.my-domain.com/node_modules/webpack-cli/node_modules/yargs/yargs.js:567:18)
    at /var/www/public/jitsi.my-domain.com/node_modules/webpack-cli/bin/cli.js:219:8
    at Object.<anonymous> (/var/www/public/jitsi.my-domain.com/node_modules/webpack-cli/bin/cli.js:538:3)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/var/www/public/jitsi.my-domain.com/node_modules/webpack/bin/webpack.js:155:2)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
make: *** [compile] Error 1

Is something in the config.js missing in the newer version or what URL is meant by this error message?