There are definitely different carriage return/line feed characters depending on the platform in use.
Is the config file read via a Netbeans API or the project code itself? If project code, it may not be reading the lines in a platform independent way (2) Eric Reference: (1) https://www.baeldung.com/java-string-newline (2) https://stackoverflow.com/questions/4758525/carriage-return-and-new-line-with-java-and-readline On Fri, Apr 1, 2022 at 5:21 PM Todd Stevenson <[email protected]> wrote: > In answer to your questions: > > The application installer worked correctly. > When we attempted to start the application, it just exited with no > errors. > However, once we removed the crlf and replaced with lf in > app.conf file (in nbproject/app.conf) we were able to run the app from the > command line and looked fine. > > > Todd Stevenson > Software Engineer - Consultant > Intermountain Healthcare > 3930 Parkway Blvd |Salt Lake City, UT 84120 > Office: 801-442-5112 | Cell: 801-589-1115 > [email protected] > > > > -----Original Message----- > From: antonio <[email protected]> > Sent: Friday, April 1, 2022 2:33 PM > To: [email protected] > Subject: Re: carriage return newlines in MacOS installer > > External Sender: Be aware! Read with care! > > Hi Todd, > > 1. "the executable won't run correctly" > > a) What does that mean? Does it hang? SIGTERM? What? > > 2. "we are finding carriage returns in the configuration files" > > Well, of course configuration files have carriage returns! > > a) Which configuration files? > b) Are these files generated by you/your team? > > 3. "Is there any way to tell NetBeans to create files that are appropriate > for the Linux/Mac environment with no carriage returns?" > > NetBeans has been creating millions of files that are appropriate for the > Linux/Mac environment for several years now, AFAIK. > > a) What do you mean by "creating files without carriage returns"? All > lines joined together in one or what? > > As you can see your email poses quite a lot of questions. If you're asking > us for help you should try to ask precise questions, otherwise we'll either > have to reply you with more questions or await for you explaining them. > > Thank you, > Antonio > > P.S.: This is a public mailing list everyone can see. Please thing twice > before posting phone numbers. Thank you. > > El 31/3/22 a las 23:58, Todd Stevenson escribió: > > My NetBeans platform app generates a MacOS installer and it installs > > OK, but the executable won’t run correctly and we are finding carriage > > returns in the configuration files. Is there any way to tell NetBeans > > to create files that are appropriate for the Linux/Mac environment > > with no carriage returns? > > > > Thank you. > > > > *Todd Stevenson* > > > > Software Engineer - Consultant > > > > /Intermountain Healthcare/ > > > > /3930 Parkway Blvd |Salt Lake City, UT 84120/ > > > > Office: 801-442-5112 | Cell: 801-589-1115 > > > > [email protected] <mailto:[email protected]> > > > > NOTICE: This e-mail is for the sole use of the intended recipient and > > may contain confidential and privileged information. If you are not > > the intended recipient, you are prohibited from reviewing, using, > > disclosing or distributing this e-mail or its contents. If you have > > received this e-mail in error, please contact the sender by reply > > e-mail and destroy all copies of this e-mail and its contents. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > For further information about the NetBeans mailing lists, visit: > > https://urldefense.com/v3/__https://cwiki.apache.org/confluence/display/NETBEANS/Mailing*lists__;Kw!!HnyL5y5g8FOd9kGaVA!RiW2yqV1OW4J_uVjHPmMRuqpJdiYiMcfFGlc5knfHOxpDfYdm1uj0iRhqiKeVxBwBHQ$ > > > > NOTICE: This e-mail is for the sole use of the intended recipient and may > contain confidential and privileged information. If you are not the > intended recipient, you are prohibited from reviewing, using, disclosing or > distributing this e-mail or its contents. If you have received this e-mail > in error, please contact the sender by reply e-mail and destroy all copies > of this e-mail and its contents. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > > -- Eric Bresie [email protected]
