Brazier
Brazier copied to clipboard
Import Error/Can't get this to run in Netbeans
It's giving me an error saying some of the packages such as package org.jtrim.concurrent.async; does not exist. How do I fix this so I can start coding? And also, is there a built in main class in here so I can run it on Netbeans? I'm trying to make a Hearthstone AI.
Are you behind a proxy? Those dependencies are here: http://dl.bintray.com/kelemen/maven. The main class is HearthStoneEmulator
but you simplz have to run the run
Gradle task (which NB does).
I just changed my settings in netbeans to not run a proxy. The way I've loaded this source code into Netbeans is I created a new java application with an existing source code and gave it the source code directory. This gave me a lot of the import errors.
I just downloaded the Gradle plugin via the Netbeans IDE. Is it the way I created the application? Should it be a Gradle application? Also, I fixed my previous problems (the red lines went away) but downloading a JTrim-Master from github and just dragging and dropping that folder into the source package.
If you are using NetBeans, you should just install its Gradle plugin and the project should open out of the box (assuming that the repositories are accessible). I'm actually using NB, so it should work.
I've installed the Gradle plugin and then tried to run the project. This is the error that I get in the build file whenever I try to run the project as a Gradle project. I'm not entirely sure what I'm doing wrong but I am currently Googling everything to try to make this work. Do you have a three step process to making this work? My only guess (since you're using NetBeans too) is that my repositories aren't accessible so I'm trying to find a way to fix that.
This is the error I get in the build file whenever I try to load it.
On Fri, Feb 12, 2016 at 12:17 PM, Attila Kelemen [email protected] wrote:
If you are using NetBeans, you should just install its Gradle plugin and the project should open out of the box (assuming that the repositories are accessible). I'm actually using NB, so it should work.
— Reply to this email directly or view it on GitHub https://github.com/HearthSim/Brazier/issues/3#issuecomment-183437311.
If you have to use proxy, try follow what is written in this issue: kelemen/netbeans-gradle-project#139.