On Tue, Aug 30, 2011 at 9:28 AM, Rami Ojares / AMG <[email protected]>wrote:

> So linkable laszlo code is searched in 2 places.
> 1. The current working directory of the JVM
> 2. LPS_HOME/lps/components
>
> correct?
>
> So the only difference to javac is that one can not add classpaths beyond
> those 2.
>
> In the light of this fact I have decided to compile my lzo libs under
> LPS_HOME/lps/components
>
> Then all projects that share the same LPS_HOME find the libraries there
> easily.
> But my only problem is that when I recompile a library it will also find
> it's previous compilation there.
> I wonder if it will confuse it. I have to test this.
>

I'm not sure what you're asking here. What are you worried is getting
confused?
If the compiler find a foo.lzx and foo.lzo, it will prefer the foo.lzo,
regardless of whether the
.lzx file is newer than the lzo. The lzo files must be manually compiled,
there is no dependency checking on file modification time by the compiler.


> One way to avoid the problem is to delete the library before starting a
> library compilation.
>
> - rami
>



-- 
Henry Minsky

Reply via email to