This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

--Login with command-line parameters

Information about development with ProjX.

--Login with command-line parameters

Postby Development@SIB » Fri May 23, 2014 4:11 pm

This article is outdated - please use our new system at

If you start an application from another application or via command-line, you could use command-line arguments to set application parameters like username/password. Of course, you shouldn't use this in production environments but you could, for test applications or unit tests.

It's really simple to set application parameters via command-line (see Using Application Parameters):

To implement automatic login, simply set

Code: Select all
Application.Login.username=username Application.Login.password=password

after the application and config parameter:

Code: Select all
com.sibvisions.apps.projx.ProjX /com/sibvisions/apps/myapp/application.xml
User avatar
Posts: 313
Joined: Mon Sep 28, 2009 1:54 pm

Return to Documentation