Re: [javaCompiler-users] Request for AWT information
Status: Beta
Brought to you by:
soapy
From: Lee D. P. <le...@3s...> - 2006-12-22 13:45:32
|
> I assume that the properties have spaces, right? No, the properties I'm adding are: -Dcom.averick.ssl.allowUntrustedCertificates=3Dtrue -Dcom.maverick.ssl.allowInvalidCertificates=3Dtrue It looks to me like these are being included on the compilation step for the jar and only need to be included on the final main build step. > I think it would be cleaner to be able to specify them in the compiler. > What do you think? Well yes that would be cleaner as other users may have properties that have to be set in this way. Lee > -----Original Message----- > From: jav...@li... > [mailto:jav...@li...] On Behalf Of > Marco Trudel > Sent: 22 December 2006 13:37 > To: A mailing list for general questions and discussions. > Subject: Re: [javaCompiler-users] Request for AWT information >=20 > 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 >=20 > 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. >=20 > > 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. >=20 > I think it would be cleaner to be able to specify them in the compiler. > What do you think? >=20 >=20 > Marco >=20 >=20 > > 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=3Dfoobar > >>>> 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=3Djoin.php&p=3Dsourceforge&CID=3D= 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=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V > > _______________________________________________ > > javaCompiler-users mailing list > > jav...@li... > > https://lists.sourceforge.net/lists/listinfo/javacompiler-users > > >=20 >=20 > ------------------------------------------------------------------------ - > 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=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V > _______________________________________________ > javaCompiler-users mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/javacompiler-users |