It is currently Wed Jul 18, 2018 3:21 am Advanced search

Compiling code in Java packages

Code won't compile? Found a bug? Post here!

Compiling code in Java packages

Postby BenM99 » Fri Feb 12, 2010 11:38 pm

I've submitted some code which has the MyTronBot class in the default package but which uses some code in named packages. These additional java files aren't compiled when I submit the source code, hence my bot doesn't work.

The submitted archive contents are like:

/MyTronBot.java
/com/packagename/SupportingClass1.java
/com/packagename/SupportingClass2.java
etc...

Does any one know how this can be fixed, or could the java compiling script be updated to compile files in sub packages as well? I really don't like having my code int he default package as it makes it harder to organize all my classes.
BenM99
Cadet
 
Posts: 1
Joined: Fri Feb 12, 2010 11:33 pm

Re: Compiling code in Java packages

Postby amstan » Sat Feb 13, 2010 12:22 am

Our compiler will only compile stuff from the root folder, avoid using folders in your bot.
Alexandru M. Stan
Contest Organizer
User avatar
amstan
Contest Organizer
 
Posts: 691
Joined: Sun Jan 31, 2010 4:02 am
Location: Stoney Creek, Ontario


Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 2 guests

cron