Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Problems with imported code? (http://www.chiefdelphi.com/forums/showthread.php?t=134507)

Hawk_Prime 13-02-2015 14:39

Problems with imported code?
 
Hey, I have my teams robot code on my computer, and when I try to give it to other team members, it gives this error:


Has anyone else had this problem and is there any way to fix it?

Oromus 13-02-2015 14:58

Re: Problems with imported code?
 
Your image appears to be broken. Can you either supply a new link or perhaps type out the error?

Hawk_Prime 13-02-2015 15:05

Re: Problems with imported code?
 
Here's the error he is getting
Code:

C:\Users\Matteo Longo\wpilib\java\current\ant\build.xml:12: classloader doesn't support the "loader" attribute

Fauge7 13-02-2015 15:09

Re: Problems with imported code?
 
Make a new project and copy all the code oveyapyap shouldn't take more then more then 5 minutes

Oromus 13-02-2015 15:10

Re: Problems with imported code?
 
Questions:

Is this error is being given when your friend tries to push code to the robot?
Is there any other errors, either in the code or when you're pushing code?
Is your friend using Eclipse?
Does your friend have the WPI plugins?

Hawk_Prime 13-02-2015 15:20

Re: Problems with imported code?
 
Yes, no, yes, yes

Oromus 13-02-2015 15:44

Re: Problems with imported code?
 
How did you transfer the files to your friend's computer (i.e. USB drive, Github, magic, ect...)?

Rakusan2 13-02-2015 15:53

Re: Problems with imported code?
 
Did your friend create his own project before you shared your project with him? Since for my team for some reason all computers that we transferred the code to required us to create an FRC project which we deleted right after it was created for our shared code to not show any errors

Wasabi Fan 23-01-2016 19:47

Re: Problems with imported code?
 
Did you find a solution to this issue? I'm seeing the same error in my custom build scripts and can't figure out where this error is coming from.

Spaghetti 06-02-2016 17:50

Re: Problems with imported code?
 
It looks like this problem happens with ant 1.8.2 but works fine with ant 1.9+.

Wasabi Fan 06-02-2016 23:58

Re: Problems with imported code?
 
For future reference, the problem actually turned out to be that the jars that wpilib puts in "<USER FOLDER>/wpilib/java" weren't available. Adding those fixed the issue.


All times are GMT -5. The time now is 09:12.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi