Skip to content

Instantly share code, notes, and snippets.

@gbougeard
Created October 2, 2013 13:15
Show Gist options
  • Select an option

  • Save gbougeard/6793551 to your computer and use it in GitHub Desktop.

Select an option

Save gbougeard/6793551 to your computer and use it in GitHub Desktop.
> run
[info] Running com.reservit.Ghf
15:05:23.598 GHF [run-main] INFO com.reservit.Ghf$ - Hello, ghf
15:05:24.476 GHF [run-main] WARN com.reservit.Ghf$ - There is not the same Hotels amount in EN and FR
15:05:24.476 GHF [run-main] WARN com.reservit.Ghf$ - This ids are not EN list : 2424
15:05:24.476 GHF [run-main] INFO com.reservit.Ghf$ - Creating XML object for lang en and 2 hotels
15:05:24.484 GHF [run-main] INFO com.reservit.Ghf$ - File saved to ./google-local_en.xml
15:05:24.485 GHF [run-main] INFO com.reservit.Ghf$ - load resource hotel_list.xsd
15:05:24.485 GHF [run-main] INFO com.reservit.Ghf$ - lnew schema file:/home/gbougeard/git/IT/ghf-deschotels/target/scala-2.10/classes/hotel_list.xsd
15:05:24.515 GHF [run-main] INFO com.reservit.Ghf$ - newValidator
15:05:24.516 GHF [run-main] INFO com.reservit.Ghf$ - validate ./google-local_en.xml
15:05:24.523 GHF [run-main] INFO com.reservit.Ghf$ - Validation done
15:05:24.523 GHF [run-main] INFO com.reservit.Ghf$ - XSD validation result : true
15:05:24.523 GHF [run-main] INFO com.reservit.Ghf$ - Creating XML object for lang fr and 3 hotels
15:05:24.526 GHF [run-main] INFO com.reservit.Ghf$ - File saved to ./google-local_fr.xml
15:05:24.527 GHF [run-main] INFO com.reservit.Ghf$ - load resource hotel_list.xsd
15:05:24.527 GHF [run-main] INFO com.reservit.Ghf$ - lnew schema file:/home/gbougeard/git/IT/ghf-deschotels/target/scala-2.10/classes/hotel_list.xsd
15:05:24.553 GHF [run-main] INFO com.reservit.Ghf$ - newValidator
15:05:24.554 GHF [run-main] INFO com.reservit.Ghf$ - validate ./google-local_fr.xml
15:05:24.563 GHF [run-main] INFO com.reservit.Ghf$ - Validation done
15:05:24.563 GHF [run-main] INFO com.reservit.Ghf$ - XSD validation result : true
15:05:24.563 GHF [run-main] INFO com.reservit.Ghf$ - Bye bye, ghf
[success] Total time: 1 s, completed Oct 2, 2013 3:05:24 PM
15:03:50 :: git/IT/ghf-deschotels ‹master*› » java -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -XX:ReservedCodeCacheSize=128m -jar target/scala-2.10/ghf-assembly-0.1-SNAPSHOT.jar
15:05:28.895 GHF [main] INFO com.reservit.Ghf$ - Hello, ghf
15:05:30.080 GHF [main] WARN com.reservit.Ghf$ - There is not the same Hotels amount in EN and FR
15:05:30.081 GHF [main] WARN com.reservit.Ghf$ - This ids are not EN list : 2424
15:05:30.081 GHF [main] INFO com.reservit.Ghf$ - Creating XML object for lang en and 2 hotels
15:05:30.111 GHF [main] INFO com.reservit.Ghf$ - File saved to ./google-local_en.xml
15:05:30.118 GHF [main] INFO com.reservit.Ghf$ - load resource hotel_list.xsd
15:05:30.118 GHF [main] INFO com.reservit.Ghf$ - lnew schema jar:file:/home/gbougeard/git/IT/ghf-deschotels/target/scala-2.10/ghf-assembly-0.1-SNAPSHOT.jar!/hotel_list.xsd
15:06:33.385 GHF [main] INFO com.reservit.Ghf$ - newValidator
15:06:33.388 GHF [main] INFO com.reservit.Ghf$ - validate ./google-local_en.xml
15:06:33.399 GHF [main] INFO com.reservit.Ghf$ - Validation done
15:06:33.400 GHF [main] INFO com.reservit.Ghf$ - XSD validation result : true
15:06:33.400 GHF [main] INFO com.reservit.Ghf$ - Creating XML object for lang fr and 3 hotels
15:06:33.406 GHF [main] INFO com.reservit.Ghf$ - File saved to ./google-local_fr.xml
15:06:33.406 GHF [main] INFO com.reservit.Ghf$ - load resource hotel_list.xsd
15:06:33.406 GHF [main] INFO com.reservit.Ghf$ - lnew schema jar:file:/home/gbougeard/git/IT/ghf-deschotels/target/scala-2.10/ghf-assembly-0.1-SNAPSHOT.jar!/hotel_list.xsd
15:07:36.578 GHF [main] INFO com.reservit.Ghf$ - newValidator
15:07:36.579 GHF [main] INFO com.reservit.Ghf$ - validate ./google-local_fr.xml
15:07:36.591 GHF [main] INFO com.reservit.Ghf$ - Validation done
15:07:36.592 GHF [main] INFO com.reservit.Ghf$ - XSD validation result : true
15:07:36.592 GHF [main] INFO com.reservit.Ghf$ - Bye bye, ghf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment