ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcljava-dev
tcljava-dev
Re: [tcljava-dev] Re: Error during build (FIX)
by Mo DeJong other posts by this author
Mar 8 2006 2:25PM messages near this date
Re: [tcljava-dev] Re: Error during build (FIX) | Re: [tcljava-dev] Re: Error during build (FIX)
On Tue, 7 Mar 2006 16:53:45 -0700
Tom Poindexter <tpoindex@[...].net>  wrote:

>  > > Mo, I got this error while trying to compile tjc:
>  > > 
>  > > $ make tjc2
>  > > compile TJC Tcl source files
>  > > tjc tjc.tjc
>  > > error: cannot read: /home/tpoindex/src/java/tcljava.cvs/build/tjc2/bldTJC/source/tjc/*
.java
>  > > 1 error

...

>  See attached jdk.tcl.diff and jdk.tcl  (to patch/replace
>  ./src/tjc/tjc/library/jdk.tcl)
>  
>  The fix glob's files to expand wildcard patterns,
>  writes the resulting list of files to another file,
>  and uses javac's '@filename' to specify the file
>  containing the list of files.  
>  
>  Also, I had to increase the memory for javac to
>  prevent out of memory errors during 'make tjc2'.

This is a fine patch, but I think this javac function is getting too messy.
There is no real reason to support wildcard expansion and using the
@file thing will keep it from working with another compiler. What
I did was reimplement the [exec $JAVAC ...] bit so that files are
processed in batches of 40. This should fix the compile under Unix
while also avoiding the compiler out of memory problem.

The fix is checked into CVS as of today, please let me know if you
run into any more problems.

Mo DeJong


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
tcljava-dev mailing list
tcljava-dev@[...].net
https://lists.sourceforge.net/lists/listinfo/tcljava-dev
Thread:
Mo DeJong
Mo DeJong
Mo DeJong
Tom Poindexter
Mo DeJong
Tom Poindexter
Mo DeJong
Tom Poindexter
Tom Poindexter

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved