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 build.xml in the croftsoft
directory and although it does execute and show the example games,
it does not build the expected directory that would house the third
party tools (like java_cup).
How does this code work without access to java_cup?
--- In
croftsoft-ajgp@yahoogroups.com, "darrin_p_s"
<darrin_p_s@a...> wrote:
>
> 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