Search the web
Sign In
New User? Sign Up
croftsoft-ajgp · Advanced Java Game Programming discuss
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Trouble compiling....help please   Message List  
Reply | Forward Message #185 of 198 |
Re: Trouble compiling....help please


I have the book, but I must not be understanding something.

You mention that you use J to map to your croftsoft, and that under
it you house the ext directory to hold JAR files needed for the
build. I expected to see such a directory being created when I
unzipped the file that I got from SourceForge that goes along with
your book, but no such directory was created.

Reading chapter 1 I see that certain directories get created when
the source is compiled so maybe that is it, but I cannot get your
jc.bat to work either!

I have the unzipped croftsoft directory under my C: drive. When I
try to execute the batch file I get this:

C:\croftsoft\bin>jc *.java

C:\croftsoft\bin>javac -deprecation -d C:\croftsoft\lib -sourcepath
C:\croftsoft\src -classpath
C:\croftsoft\lib;C:\croftsoft\ext\j2ee.jar;C:\croftsoft\ext\jaxb
-api.jar;C:\croftsoft\ext\jaxb-ri.jar;C:\croftsoft\ext\jaxb-
libs.jar;C:\croftsoft\ext\javaws.jar *.java
error: cannot read: *.java
1 error

My understanding is that error refers to invalid source being in a
java file, but I could be wrong on that.

So, besides just downloading croftsoft_2003-11-09.zip and expanding
it, what else needs to be done before I can run the jc.bat file to
generate the other directories?

Thanks.

--- In croftsoft-ajgp@yahoogroups.com, David Wallace Croft
<david@c...> wrote:
> Darrin,
>
>
> --- darrin_p_s <darrin_p_s@a...> wrote:
> > Anyway, what I need is a step by step guide of what:
>
>
> This should help:
> http://croftsoft.com/library/books/ajgp/
>
> Also, Chapter 1 should give you what you need. If it
> doesn't, let me know and I'll post an update.
>
>
> =====
> David Wallace Croft / (214) 636-3790 mobile / (214) 731-9284 home






Tue Dec 28, 2004 3:26 pm

darrin_p_s
Offline Offline
Send Email Send Email

Forward
Message #185 of 198 |
Expand Messages Author Sort by Date

I downloaded the code then tried to compile. I first noticed that the j2ee.jar needed to be in the build path so I added that, but then I saw a lot of...
darrin_p_s
Offline Send Email
Dec 28, 2004
12:14 am

Darrin, ... This should help: http://croftsoft.com/library/books/ajgp/ Also, Chapter 1 should give you what you need. If it doesn't, let me know and I'll post...
David Wallace Croft
david_wallac...
Online Now Send Email
Dec 28, 2004
12:25 am

I have the book, but I must not be understanding something. You mention that you use J to map to your croftsoft, and that under it you house the ext directory...
darrin_p_s
Offline Send Email
Dec 28, 2004
3:27 pm

I checked the jc.bat file and noticed that there isn't anything in it to build the lib directory, so that doesn't do it. I installed and ran Ant against the...
darrin_p_s
Offline Send Email
Dec 29, 2004
6:04 pm

Darrin, ... The java_cup stuff is extraneous. You can safely ignore unless you are really curious. ===== David Wallace Croft / (214) 636-3790 mobile / (214)...
David Wallace Croft
david_wallac...
Online Now Send Email
Dec 31, 2004
8:05 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help