jitpack / jitpack.io

Documentation and issues of https://jitpack.io
MIT License
2.52k stars 183 forks source link

Scala.js build artifacts #372

Open dmounoud opened 8 years ago

dmounoud commented 8 years ago

Hi,

I'd like to publish a Scala.js project; example build here

What I expect and what I get while I'm running sbt publishM2 locally is 4 files having the following pattern: *sjs-.[pom | jar | -sources | -javadoc]

While getting files through jitpack I only receive standard build artifacts :

build.log
scala-js-bootstrap-1.3.jar
scala-js-bootstrap-1.3.jar.md5
scala-js-bootstrap-1.3.jar.sha1
scala-js-bootstrap-1.3.pom
scala-js-bootstrap-1.3.pom.md5
scala-js-bootstrap-1.3.pom.sha1

I'm using same SBT and Java version as jitpack does.

Thanks for your support.

Your tool is awesome !

Cheers

jitpack-io commented 8 years ago

Hi!

The files are there and are downloadable but currently they just don't show up when browsing artifacts. Thanks for reporting the issue, will need to have a look at it. Happy to hear that you like JitPack:)

dmounoud commented 8 years ago

Thanks for your quick reply.

What are their Url's though ? Getting artifacts using %%% from sbt failed. Il looks at : https://jitpack.io/com/github/diadys/scala-js-bootstrap_sjs0.6_2.11/1.3/scala-js-bootstrap_sjs0.6_2.11-1.3.jar

Because artifact name changed with Scala.js, I tried: https://jitpack.io/com/github/diadys/scala-js-bootstrap/1.3/scala-js-bootstrap_sjs0.6_2.11-1.3.jar

I then try to recurisve wget to discover the list of files available : wget -r -np --spider https://jitpack.io/com/github/diadys/scala-js-bootstrap/1.3/

No luck.

Thanks again.

jitpack-io commented 8 years ago

They are listed at the end of the build log

dmounoud commented 8 years ago

Ok sorry about that, haven't thought files were renamed.

Would be nice the scala.js sbt plugin file renaming is applied.

As a workaround, I currently use the % notation rather than %%% to compile my projects.

Thanks for your support

fdietze commented 6 years ago

Using %%% seems to work correctly now. Thank you!

yurique commented 5 years ago

Hi! I'm trying to publish a scala+scalajs cross-built artifacts.

The jitpack.yml: https://github.com/yurique/idea-cats/blob/master/jitpack.yml The log is here: https://jitpack.io/com/github/yurique/idea-cats/0.0.4/build.log

The artifacts are built and copied to ~/.m2, then, according to the log, sjs artifacts are discovered:

Looking for pom.xml in build directory and ~/.m2
Found artifact: io.github.yurique:idea-cats_sjs0.6_2.12:0.0.4
Found artifact: io.github.yurique:idea-cats_sjs0.6_2.12:0.0.4
Found artifact: io.github.yurique:idea-cats_2.12:0.0.4
Found artifact: io.github.yurique:idea-cats_2.12:0.0.4

But not listed at the end:

Files: 
com/github/yurique/idea-cats/0.0.4
com/github/yurique/idea-cats/0.0.4/build.log
com/github/yurique/idea-cats/0.0.4/idea-cats-0.0.4-javadoc.jar
com/github/yurique/idea-cats/0.0.4/idea-cats-0.0.4-sources.jar
com/github/yurique/idea-cats/0.0.4/idea-cats-0.0.4.jar
com/github/yurique/idea-cats/0.0.4/idea-cats-0.0.4.pom
com/github/yurique/idea-cats/0.0.4/idea-cats-0.0.4.pom.md5
com/github/yurique/idea-cats/0.0.4/idea-cats-0.0.4.pom.sha1

And naturally I can't access them:

The jvm artifact is available: https://jitpack.io/com/github/yurique/idea-cats/0.0.4/idea-cats-0.0.4.pom