lyciastudio.ini

 

lyciastudio.ini is a Lycia configuration file that includes a number of basic LyciaStudio configurations.

It is a text file containing command-line options that are added to the command line used when LycisStudio is started.

 

lyciastudio.ini is created during Lycia installation and can be modified depending on the developer's needs.

 

lyciastudio.ini is located in this folder - C:\Program Files\Querix\Lycia 3 Development Suite 7.1\Lycia\LyciaStudio\ - and has the following content (press ยป to see the default content):

 

Below you can find the command line arguments included in lyciastudio.ini:

 

-startup

<location>

specifies the location of .jar files used to start LyciaStudio

 

--launcher.library

<location>

specifies the location of the shared library for the LyciaStudio executable's companion.

If not specified, looks in the plug-ins directory for the appropriate org.eclipse.equinox.launcher.[platform] fragment with the highest version

--launcher.XXMaxPermSize

<value>

specifies the maximum permanent generation size of a Java virtual machine

 

-vmargs

customizes the operation of the Java virtual machine used to run LyciaStudio

 

-vm

<path to java vm>

locates the Java virtual machine used to run LyciaStudio.

The path specified must be the full file system path to an appropriate object - Java jre/bin directory, Java Executable, Java shared library (jvm.dll or libjvm.so), or a Java VM Execution Environment description file.  If not specified, the search algorithm will be used to locate a suitable Java virtual machine.

 

Here you can learn more about these (and other) arguments that can be added to lyciastudio.ini.

 

You can open and modify lyciastudio.ini with your favorite text editor:

 

Step 1

Close LyciaStudio (if running).

 

Step 2

Go to C:\Program Files\Querix\Lycia 3 Development Suite 7.1\Lycia\LyciaStudio\.

 

Step 3

Open lyciastudio.ini with the text editor you prefer.

 

Step 4

Introduce the necessary changes and save them.

 

Step 5

Start LyciaStudio.

 

 

When modifying lyciastudio.ini, you must keep in mind these rules:

 

You must try and test your changes with Lycia Command Line before changing lyciastudio.ini itself.

 

Make a backup a copy of the original contents so that you can reverse your changes if anything goes wrong.

 

All options and their arguments must be written in their own lines (1 option = 1 line).

 

All lines after -vmargs are passed as arguments to the Java virtual machine.

 

Any use of -vmargs on the command line replaces all -vmargs settings in lyciastudio.ini unless --launcher.appendVmargs is specified either in lyciastudio.ini or on the command line.

 

By using the -vmargs tag, you can set not only general properties (shared by all Eclipse-based IDE) but the properties specific to LyciaStudio.

For example,

 

1

by adding these properties, you will be able to obtain Lycia Form Designer logs:

 

-vmargs

-Dcom.querix.fgl.forms.designer.renderer=cef

-Dcom.querix.fgl.forms.designer.render.arg.log-file=c:/temp/ceftmp.log

-Dcom.querix.fgl.forms.designer.render.arg.log-severity=verbose

-Dcom.querix.fgl.forms.designer.jslog=C:/temp/fd_scripts.js

 

2

after adding this property, you can specify debugging options for Lycia Form Designer:

 

-vmargs

-Dcom.querix.fgl.forms.designer.renderer=cef