[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Laszlo-dev] [Gnash-dev] Re: OpenLaszlo support (continued..)

From: P T Withington
Subject: Re: [Laszlo-dev] [Gnash-dev] Re: OpenLaszlo support (continued..)
Date: Tue, 27 Feb 2007 15:44:43 -0500

On 2007-02-27, at 15:34 EST, strk wrote:

On Tue, Feb 27, 2007 at 03:28:37PM -0500, P T Withington wrote:
That class is the main entry to the script compiler and should be
part of the servlet jar (in WEB-INF/lib/lps-*.jar, where *
corresponds to the release version).

If you got a source distribution, I think you will need to build from
the root first, to get that jar built.  Or get a binary distribution
and copy the jar into place.  I guess this is what you get for taking
my advice and trying to short-cut the full build process.  Sorry.

Copied the one from binary "legals" 4.0.x-unix-3826. One step further:

[echo] Compiling /home/strk/src/openlaszlo/svn/openlaszlo/ branches/legals/lps/includes/lfc/LFC7.lzl [java] Exception compiling scriptfile: : undefined compile-time conditional 1 [java] : undefined compile-time conditional 1
       [java] Compilation aborted.

/home/strk/src/openlaszlo/svn/openlaszlo/branches/legals/WEB-INF/ lps/lfc/build.xml:101: The following error occurred while executing this line: /home/strk/src/openlaszlo/svn/openlaszlo/branches/legals/WEB-INF/ lps/lfc/build.xml:79: Java returned: 1

frustration_level = 7;

Something is screwy here.

Top-level 'if' statements are evaluated at compile time. This lets us conditionalize the code for different run times, etc.

It appears that the compiler has come across a top-level if of the form:

  if (1) { ... }

and it is complaining.  Have you edited the source at all?

[I suppose this should not be a fatal error -- it should just emit the conditional. But for our purposes it means that the compiler couldn't do what you wanted.]

(sorry about the frustration level. not many people outside our group actually do source development, so the doc there is a little thin. and, we are trying to shortcut the process here.)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]