Commit file README.md con gli steps di installazione/configurazione per Intellij in locale

This commit is contained in:
vincenzofariello
2024-05-13 09:07:43 +02:00
parent f8a3e5293f
commit 01049fec7b

View File

@@ -64,7 +64,77 @@ On some READMEs, you may see small images that convey metadata, such as whether
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method. Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
## Installation ## Installation
Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
STEP CONFIGURAZIONE IN LOCALE DEI PROGETTI DBCMNP
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Pre-Requisiti:
a) Installare la versione di IntelliJ Community 2022.2.5
b) Installare sotto "C:/WebLogicServer10.3.6" il WLS versione 10.3.6 (scaricare versione .zip e scompattare al path indicato)
c) Installare la versione jdk1.6.0_45
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Import dei Progetti sotto Intellij Community Edition
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
1) Scaricare in locale da github i progetti (branch di interesse) ed "Open" della <root_folder> del Progetto
2) Aprire File > Settings > Editor > File Encodings e settare Global e Project Encoding a "windows-1252" (anzichè UTF-8)
3) Aprire File > Project Structure, per settare: SDK, Modules e Libraries
3) Setting della SDK (in Project) con il riferimento al path locale della jdk1.6.0_45
4) Setting dei seguenti Moduli (in Modules):
Per il principale ("mnpdbc") selezionare:
- <root_project>/dbcmnpsrc/FE/mnpdev/mnp/src di tipo "Resources"
- <root_project>/dbcmnpsrc/FE/mnpdev/dbcgo/dbcgo/src di tipo "Resources"
- <root_project>/dbcmnpsrc/FE/mnpdev/crontab/src di tipo "Resources"
Escludere il seguente path dalla build:
- <root_project>/GW" di tipo "Excluded"
5) Setting delle seguenti Librerie (in Libraries):
dal folder di progetto selezionare ed aggiungere:
- <root_project>/dbcmnpsrc/FE/mnpdev/dbcgo/dbcgo/WebRoot/WEB-INF/lib
- <root_project>/dbcmnpsrc/FE/mnpdev/dbcgo/dbcgoEar/res/APP-INF/lib
- <root_project>/dbcmnpsrc/FE/mnpdev/mnp/ear/APP-INF/lib
dal folder dove si è installata la WLS versione 10.3.6 aggiungere:
- <path_locale_wls_10.3.6>/modules
- <path_locale_wls_10.3.6>/wlserver/server/lib
6) Aggiungere un nuovo Module, Add Module -> Import e selezionare il path <root_project>/dbcmnpsrc/GW (il nuovo modulo si chiamerà "GW")
7) Importare le librerie di default che vengono rilevate automaticamente, al path <root_project>/dbcmnpsrc/GW/mnpapp/lib/*;
ed aggiungere dal folder dove si è installata la WLS versione 10.3.6 le seguenti:
- <path_locale_wls_10.3.6>/modules
- <path_locale_wls_10.3.6>/wlserver/server/lib
8) Per il Modulo GW settare come Source Folder il seguente path:
- <root_project>/dbcmnpsrc/GW/mnpdev/crontab/src di tipo "Resources"
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Progetto DBFMNP (contiene i progetti DBC MNP/MNPGO/MNPGW)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
1) Modificare il file <dbcmnp_branch>/dbcmnpsrc/FE/mnpdev/build/build.cmd settando la variabile JAVA_HOME al path locale della jdk1.6.0_45
2) Sotto la folder <dbcfx_branch>/dbcmnpsrc/FE/mnpdev/build/winxp aggiungere il file build_<username>.properties (i.e. "build_vincenzo.fariello.properties")
3) Configurare i path relativi a sdk.home - <path locale della jdk1.6.0_45> e weblogic.home - <path locale del wls 10.3.6>/wlserver
4) Ripetere gli stessi step dall'1 al 3 sotto l'alberatura <dbcfx_branch>/dbcmnpsrc/FE/mnpdev/dbcgo/dbcgoEar, rispettivamente per i file build.cmd,
ed il nuovo file "build_<username.personale>.properties" da creare sotto <dbcfx_branch>/dbcmnpsrc/FE/mnpdev/dbcgo/dbcgoEar/winxp/
5) Ripetere gli stessi step dall'1 al 3 sotto l'alberatura <dbcfx_branch>/dbcmnpsrc/GW/mnpdev/build, rispettivamente per i file build.cmd,
ed il file "build.properties"
NOTA: è già presente e non va creato uno nuovo con il nome utente.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
## Usage ## Usage
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README. Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.