Coder Social home page Coder Social logo

lkishalmi / netbeans Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/netbeans

1.0 1.0 0.0 249 MB

Mirror of Apache Netbeans

License: Apache License 2.0

Java 86.97% HTML 2.00% Standard ML 8.82% XSLT 0.45% Shell 0.11% Makefile 0.02% C++ 0.04% Haskell 0.01% CSS 0.12% C 0.18% Objective-C 0.01% GAP 0.02% Batchfile 0.01% Roff 0.05% Perl 0.01% JavaScript 0.40% AspectJ 0.01% TypeScript 0.01% PHP 0.80% Hack 0.01%

netbeans's People

Contributors

bradwalker avatar dbalek avatar devcharly avatar dukescript avatar ebarboni avatar eirikbakke avatar emilianbold avatar errael avatar geertjanw avatar hectorespert avatar jgauravgupta avatar jlahoda avatar juneau001 avatar junichi11 avatar kacercz avatar lbruun avatar lkishalmi avatar matthiasblaesing avatar mklaehn avatar neilcsmith-net avatar peedeeboy avatar pepness avatar rtaneja1 avatar sarveshkesharwani avatar sdedic avatar thilina01 avatar tmysik avatar tzezula avatar vieiro avatar vikasprabhakar avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

netbeans's Issues

Wrong hash signatures for SLF4J dependencies

Wrong hash signatures for SLF4J dependencies

Steps to Reproduce

  1. Clean the local maven repository of the slf4j
  2. Perform a maven dependency get: mvn dependency:get -Dartifact=org.slf4j:slf4j-api:1.7.25
  3. Build the branch

Expected Result
Build completes successfully

Actual Result
Build fails as the hash's persisted in the branch do not match the hash's computed against the fresh slf4j files.

I locally had to use:
DA76CA59F6A57EE3102F8F9BD9CEE742973EFA8A org.slf4j:slf4j-api:1.7.25 BCCDA40EBC8067491B32A88F49615A747D20082D org.slf4j:slf4j-jdk14:1.7.25

Impact
Without fixing this issue a PR to Apache NetBeans will fail as Jenkins/Travis will compute the wrong hashes

Change the External Library storage for the gradle.java module

gradle.java module has an external dependency on jacoco.jar which should be moved to our external store.
The coverage support couls be separated from the Java module if required (like: maven.coverage).
Also jacoco library is under several license. Including Eclipse, BDS and Apache

Groovy-based support for Gradle?

When I do the following:

  1. curl -s "https://get.sdkman.io" | bash
  2. sdk install grails
  3. grails create-app demo

...I now have a Grails project, which in other words means I'm using Groovy. This scenario is not supported by the (your) Gradle plugin, since your Gradle plugin only focuses on Java-based projects. And so even though I can open the 'demo' project created above, as a Gradle project with your Gradle plugin in Apache NetBeans 10, I can't run it because your plugin doesn't support Groovy and hence doesn't know how to run a Main method in a Groovy file.

Have you thought about this use case and do you have plans to provide this -- or what would it take to add this, would be happy to help provide this functionality, so that we can support Grails.

Gradle Tooling API dependency issue

Normal $ ant build fails unless you have already have gradle-tooling-api-4.10.2.jar installed in your local maven repository.

Steps to Reproduce

  1. Clean the local maven repository of the gradle api tooling files
  2. Build the branch

Expected Result
Build completes successfully

Actual Result
Build fails with the following error:
BUILD FAILED /Users/john/codebase/incubator-netbeans/nbbuild/build.xml:125: Could not download 70A74F970B22AC1226F6A2983E38A77FA90E3BE9-gradle-tooling-api-4.10.2.jar from http://netbeans.osuosl.org/binaries/: java.io.IOException: Could not download 70A74F970B22AC1226F6A2983E38A77FA90E3BE9-gradle-tooling-api-4.10.2.jar to /Users/john/.hgexternalcache/70A74F970B22AC1226F6A2983E38A77FA90E3BE9-gradle-tooling-api-4.10.2.jar: java.io.IOException: Skipping download from http://central.maven.org/maven2/org/gradle/gradle-tooling-api/4.10.2/gradle-tooling-api-4.10.2.jar due to response code 404 at org.netbeans.nbbuild.extlibs.DownloadBinaries.doDownload(DownloadBinaries.java:249) at org.netbeans.nbbuild.extlibs.DownloadBinaries.fillInFile(DownloadBinaries.java:190) at org.netbeans.nbbuild.extlibs.DownloadBinaries.execute(DownloadBinaries.java:154) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.Target.performTasks(Target.java:470) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388) at org.apache.tools.ant.Project.executeTarget(Project.java:1361) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.Main.runBuild(Main.java:834) at org.apache.tools.ant.Main.startAnt(Main.java:223) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) Caused by: java.io.IOException: Skipping download from http://central.maven.org/maven2/org/gradle/gradle-tooling-api/4.10.2/gradle-tooling-api-4.10.2.jar due to response code 404 at org.netbeans.nbbuild.extlibs.DownloadBinaries.downloadFromServer(DownloadBinaries.java:275) at org.netbeans.nbbuild.extlibs.DownloadBinaries.mavenFile(DownloadBinaries.java:177) at org.netbeans.nbbuild.extlibs.DownloadBinaries.lambda$execute$0(DownloadBinaries.java:154) at org.netbeans.nbbuild.extlibs.DownloadBinaries.doDownload(DownloadBinaries.java:226) ... 18 more

Impact
Without fixing this issue a PR to Apache NetBeans will fail as Jenkins/Travis will be unable to local the correct jar.

Attempting to use ant -q -Dbinary.server=https://jcenter.bintray.com/ also failed so I ended up downloading the jar from https://repo.gradle.org/gradle/libs-releases-local/org/gradle/gradle-tooling-api/4.10.2/ locally to my maven repo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.