jeudi 8 décembre 2016

Config and install oracle

mvn install clean -DSkipTests  in Git CMD
StS - Import projet with marven project and in Fichier --> Team --> Swith to chretien branch

Open
1 - sif/src/main/ressorces/spring/app.properties (change h2 to oracle or vice-versa)
2 - commons/src/main/resources/spring/business-config.xml (change update in create)
3 -sif/src/main/java/cm/gov/daf/sif/data/ImportData.java  execute --clic droit run as Application java
4 - Dans commons/src/main/resources/db/oracle  - execute mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=11.2.0 -Dpackaging=jar -Dfile=ojdbc14.jar -DgeneratePom=true.
5 - Verifier dans le commons/pom.xml que les parametres de ojdbc ne sont pas commentés et les decommentés.
6 - lancer -sif/src/main/java/cm/gov/daf/sif/data/ImportData.java  execute --clic droit run as Application java
7 - mvn clean install -DskiptTests dans daf-architchture
8 -mvn tomcat7:run ou copie de sif.war dans daf-architeture/sif/target/sif.war et
ouvrir 192.168.254.95:8080/manager admin/admin et impirter dans le Tomcat

Resumé:
git clone http://172.25.26.35:6880/pamxxxa/dxxf-archxxxture.git
mvn clean install -DskipTests
mvn install
cd sif
mvn tomcat7:run
-------------------------------------------------------------------------------------------------
git clone http://41.140.253.130:6180/pamocca/daf-architcture.git
mvn clean install -DskipTests
mvn install
cd sif
mvn tomcat7:run

--------------------------------------------------------------------------------------------
1 - Supprimer le client de numerisation dans le dossier physique
2 - Dans Visual studio
  Team Explorer
  clone
  preciser l'adresse en ligne du projet Git

pour switcher. undo modify ou bien les commit. J'ai choisi de undo. ensuite de switch vers ma branche.visual studio team + clone from specific branches

undo change and switch to chretien from master



https://msdn.microsoft.com/en-us/library/jj190809.aspx

https://msdn.microsoft.com/en-us/library/jj190809.aspx#Switch among branches

https://www.visualstudio.com/en-us/docs/git/gitquickstart

http://stackoverflow.com/questions/24919907/visual-studio-2013-git-only-master-branch-listed

https://www.visualstudio.com/en-us/docs/git/tutorial/branches

https://www.visualstudio.com/en-us/docs/git/manage-your-branches

http://stackoverflow.com/questions/28632922/switching-branches-does-not-refresh-solution-explorer-visual-studio

https://jeremybytes.blogspot.com/2014/12/getting-used-to-git-in-visual-studio.html




unable to find manifest signing certificate in the certificate store

http://www.asptricks.net/2015/11/solved-unable-to-find-manifest-signing.html

[solved] Unable to find manifest signing certificate in the certificate store

I got may suggestion from web but things that worked for me is sharing with you for this error.
I Created an windows application, build/run/rebuild all was working well for me but when i copied project from one location to other it was giving error while i was building or performing any operation.
Error was Unable to find manifest signing certificate in the certificate store.

I went to visual studio, (project name in solution explorer) project , right click, Properties, signing tab and unchecked Sign the ClickOnce manifests.
Henceforth [solved] Unable to find manifest signing certificate in the certificate store.


Steps:
1.visual studio,
2.(project name in solution explorer) project,
3.right click,
4.Properties,
5.Signing tab and unchecked Sign the ClickOnce manifests.

ou need to re-add that certificate to your machine or chose another certificate.

To choose another certificate or to recreate one, head over to the Project's properties page, click on Signing tab and either

Click on Select from store
Click on Select from file
Click on Create test certificate


Once either of these is done, you should be able to build it again.

've finally found the solution and really hope this helps someone else too.
  1. Edit the .csproj file for the project in question.
  2. Delete the following lines of code:
    <PropertyGroup>
       <ManifestCertificateThumbprint>...........</ManifestCertificateThumbprint>
    </PropertyGroup>
    <PropertyGroup>
       <ManifestKeyFile>xxxxxxxx.pfx</ManifestKeyFile>
    </PropertyGroup>
    <PropertyGroup>
       <GenerateManifests>true</GenerateManifests>
    </PropertyGroup>
    <PropertyGroup>
       <SignManifests>false</SignManifests>
    </PropertyGroup>