Netflix / photon

Photon is a Java implementation of the Interoperable Master Format (IMF) standard. IMF is a SMPTE standard whose core constraints are defined in the specification st2067-2:2013
Apache License 2.0
234 stars 76 forks source link

Error when building with gradlew ('nebula.netflixoss') #233

Closed marcrleonard closed 5 years ago

marcrleonard commented 5 years ago

Running on Ubuntu 18, I ran sudo ./gradlew clean

and got:

FAILURE: Build failed with an exception.

* Where:
Build file '/home/marc/Desktop/photon-master/build.gradle' line: 8

* What went wrong:
An exception occurred applying plugin request [id: 'nebula.netflixoss', version: '3.1.2']
> Failed to apply plugin [class 'nebula.plugin.release.ReleasePlugin']
   > repository not found: /home/marc/Desktop/photon-master

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 26.104 secs

It seems as though it cannot find the id: 'nebula.netflixoss', version: '3.1.2' dependency.

MarcAntoine-Arnaud commented 5 years ago

Hi,

Take care about running build/clean commands in root ... Lot of things can append !

Regarding the issue, you need to clone the project via git clone command. taking the zip from the master branch will not work as you can see.

marcrleonard commented 5 years ago

I found the issue. I had downloaded the .zip of the repo rather than doing a git clone. In doing so, I let it unzip to it's natural file location of ~/photon-master. For some reason this tripped it up. When I did a git clone of the repo > ~/photon it worked properly.

marcrleonard commented 5 years ago

Indeed, thank you Marc! I had indeed originally tried it sans sudo... This was my seconds attempt.