Configuration of logicaldoc-dev.properties

Problems with installing LogicalDOC? No problems, the solution is closer than you think.

Moderator: car031

ShaharEldad
Posts: 24
Joined: Wed Nov 29, 2017 9:01 am

Configuration of logicaldoc-dev.properties

Thu Dec 07, 2017 4:28 pm

Hi all

In the developer manual I reached the section of "Configure the logicaldoc-devel.properties".
These are the instructions:
1. logicaldoc.devroot must point to the logicaldoc workspace director
2. logicaldoc.webroot must point to the development webapp installation

I have no idea what this means.

This is where my workspace is:
D:\workspace-logicaldoc

This is where I checked-out tag7.7.1 (This is the version currently installed on my computer so I want to test working on it).
D:\workspace-logicaldoc\logicaldoc-7.7.1

This is where my tomcat of my current installation is:
C:\LogicalDOC-Community\tomcat

Any idea what I should place in these two lines in the file "logicaldoc-dev.properties":
=================================================================================
#This must point to the checkout directory
logicaldoc.devroot=C:${file.separator}Users${file.separator}marco${file.separator}workspace-logicaldoc${file.separator}

#Were the webap is unpacked in the development environment
logicaldoc.webroot=/C:/JavaSuite/servers/apache-tomcat-6.0.20/webapps/logicaldoc
=================================================================================

Thanks
Shahar
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: Configuration of logicaldoc-dev.properties

Thu Dec 07, 2017 5:21 pm

Hi Shahar,

you must place logicaldoc-dev.properties in the home directory of your user:

eg Windows: C:\Users\Shahar

Code: Select all

logicaldoc.devroot=C:/Users/Shahar/workspace77
logicaldoc.webroot=C:/tomcat8042/webapps/logicaldoc
Basically logicaldoc.devroot is the parent of a folder named logicaldoc with the sources of Logicaldoc 7.7.x

logicaldoc.webroot is the logicaldoc webapp folder in tomcat (Note: for LD 7.7 you should use a Tomcat 8.5.x)

See also
https://wiki.logicaldoc.com/wiki/Developer_Guide
https://wiki.logicaldoc.com/wiki/Fast_and_Furious
ShaharEldad
Posts: 24
Joined: Wed Nov 29, 2017 9:01 am

Re: Configuration of logicaldoc-dev.properties

Thu Dec 07, 2017 5:29 pm

agaspa wrote:
Thu Dec 07, 2017 5:21 pm
Hi Shahar,

you must place logicaldoc-dev.properties in the home directory of your user:

eg Windows: C:\Users\Shahar

Code: Select all

logicaldoc.devroot=C:/Users/Shahar/workspace77
logicaldoc.webroot=C:/tomcat8042/webapps/logicaldoc
Basically logicaldoc.devroot is the parent of a folder named logicaldoc with the sources of Logicaldoc 7.7.x

logicaldoc.webroot is the logicaldoc webapp folder in tomcat (Note: for LD 7.7 you should use a Tomcat 8.5.x)

See also
https://wiki.logicaldoc.com/wiki/Developer_Guide
https://wiki.logicaldoc.com/wiki/Fast_and_Furious
I cannot place the workspace in drive D? I must place it in C under the user folder under my name?
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: Configuration of logicaldoc-dev.properties

Fri Dec 08, 2017 9:39 am

You can have the the workspace in drive D, no problem, that was just an example,
the important thing is that logicaldoc-dev.properties must be in your user home, usually for Windows systems the home is in C:\Users\<YourWindowsUserName>
ShaharEldad
Posts: 24
Joined: Wed Nov 29, 2017 9:01 am

Re: Configuration of logicaldoc-dev.properties

Sun Dec 10, 2017 9:09 am

agaspa wrote:
Fri Dec 08, 2017 9:39 am
You can have the the workspace in drive D, no problem, that was just an example,
the important thing is that logicaldoc-dev.properties must be in your user home, usually for Windows systems the home is in C:\Users\<YourWindowsUserName>
OK Thanks :)
rayhan1994
Posts: 11
Joined: Tue May 01, 2018 12:49 am

Re: Configuration of logicaldoc-dev.properties

Wed May 09, 2018 6:49 am

Can anybody explain why this message showing here...
Attachments
build.png
build.png (162.89 KiB) Viewed 4331 times
admin
Site Admin
Posts: 37
Joined: Mon Apr 19, 2010 2:20 pm

Re: Configuration of logicaldoc-dev.properties

Wed May 09, 2018 4:00 pm

You should have the sub-path /build/ant/build.xml under your devroot directory

1) Ant read the properties stored in ${user.home}/logicaldoc-dev.properties
in this file you should have a property named logicaldoc.devroot which point to a directory in your workspace

The basic layout can be:
logicaldoc.devroot=C:/Users/shatz/workspace77/

in C:/Users/shatz/workspace77/ you will have 2 subdirectories:
1) /build (with the ant main build.xml)
2) /logicaldoc

See the old LogicalDOC developer guide (with workspace layout)
See also the attached image
Attachments
workspace-layout.png
workspace-layout.png (33.82 KiB) Viewed 4298 times

Return to “Installation”

Who is online

Users browsing this forum: No registered users and 31 guests