Re: [javaCompiler-users] Request for AWT information
Status: Beta
Brought to you by:
soapy
|
From: Marco T. <mt...@gm...> - 2006-12-22 13:37:28
|
Lee D. Painter wrote:
> Thanks for that, I now have 1.0.1 but there is another problem. I've
> added some system properties to the custom GCJ flags and the compile
> fails on a jar compile
>
> gcj: can't specify -D without --main
I assume that the properties have spaces, right?
I don't think I handle spaces correctly because arguments of GCJ usually
don't have any. Are you able to remove the spaces? Else I can release a
version that handles spaces correctly.
> The problem I have is that without the system properties the product
> will not function :( I can hack it for now by adding a command line
> parameter to set them, maybe that's a better solution anyway.
I think it would be cleaner to be able to specify them in the compiler.
What do you think?
Marco
> Regards
>
> Lee
>> -----Original Message-----
>> From: jav...@li...
>> [mailto:jav...@li...] On Behalf Of
>> Marco Trudel
>> Sent: 22 December 2006 11:03
>> To: A mailing list for general questions and discussions.
>> Subject: Re: [javaCompiler-users] Request for AWT information
>>
>> Lee D. Painter wrote:
>>>> All worked now? I assume you mean by the classes. Or did you
> download
>>>> all sources?
>>> It's compiling and linking from source once I had grabbed the source
> to
>>> the troublesome jar, I'm still missing a few resources that were in
> the
>>> jars but that should be easy to sort.
>> Version 1.0.1 is uploaded now. With it, you can compile from your
> jars.
>> It's not on every mirror yet, so you might have to try different ones
>> (Lausanne Switzerland works for sure).
>>
>>
>>>> What do you mean by "system properties"? Something you can get by
>>>> System.getProperty("name")? Then just add a custom flag:
>>>> -Dsome.property=foobar
>>>> Or do you mean stuff like PATH or so? That's not possible. That's
> not
>>>> possible with C applications as well (as far as I know)...
>>>>
>>> Yes standard java system properties is what I need to set, should
> have
>>> realized that you could pass it through as a custom flag :-)
>> :-)
>>
>>
>> I'd be glad to hear if your AWT application works flawless...
>>
>> Marco
>>
>>
> ------------------------------------------------------------------------
> -
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
> share
>> your
>> opinions on IT & business topics through brief surveys - and earn cash
>>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
> V
>> _______________________________________________
>> javaCompiler-users mailing list
>> jav...@li...
>> https://lists.sourceforge.net/lists/listinfo/javacompiler-users
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> javaCompiler-users mailing list
> jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javacompiler-users
>
|