Wednesday, May 16, 2018

Creating new Project in AngularJS6

1- Create new angularJS2 project using Eclipse Plugin i.e. AddSubDivMultiProjectAngularJS6
2- Use Terminal Prospective and run following command inside it ng serve
i.e. cd c:\ng serve\AddSubDivMultiProjectAngularJS6
3- Refresh the project in Eclipse
4- Run following command on terminal
/c/eclipse_workspace_angularjs2/AddSubDivMultiProjectAngularJS6 (master)
$ ng serve
** Angular Live Development Server is listening on localhost: 4200, open your browser on http://localhost:4200/ **
Date: 2018-05-16T10:07:23.618Z
Hash: 7aa519b4302c2dcafe34
Time: 16419ms
chunk {main} main.js, main.js.map (main) 446 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 415 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 5.4 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 149 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 5.14 MB [initial] [rendered]
i ?wdm?: Compiled successfully.
i ?wdm?: Compiling...
Date: 2018-05-16T10:09:11.742Z - Hash: a4781c06eea8b6e93b0c - Time: 1178ms
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 446 kB [initial] [rendered]
i ?wdm?: Compiled successfully.
Note:
- If during execution if you are gettin errors like TS2307: Cannot find module 'rxjs-compat/Observable'.
Make sure to run
/c/eclipse_workspace_angularjs2/AddSubDivMultiProjectAngularJS6 (master)
$ npm install rxjs-compat --save
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ rxjs-compat@6.1.0
added 1 package in 30.978s

- If getting below error
ERROR in src/app/app.module.ts(13,31): error TS2307: Cannot find module 'primeng/primeng'.
src/app/app.module.ts(14,28): error TS2307: Cannot find module 'primeng/primeng'.
Execute :-
/c/eclipse_workspace_angularjs2/AddSubDivMultiProjectAngularJS6 (master)
$ npm install primeng --save
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ primeng@5.2.6
added 1 package in 50.168s

Eclipse

Thursday, March 22, 2018

How to configure Local Email server hMailServer and Thunderbird

1- First installed the hMailServer from the follwing url.
https://www.hmailserver.com/download
2- Installed ThunderBird from below given location
https://www.mozilla.org/en-US/thunderbird/
3- Configure hMailserver and Thunderbird Email agent as given below

Image1Image2Image3Image4Image5Image6Image7






Image9Image10Image11Image12Image13Image14

Saturday, March 17, 2018

Deploying the war file in tomcat using Bamboo

Please refer to this link before moving



http://siddharathadhumale.blogspot.in/2018/03/bamboo-with-bitbucket-maven-project.html

http://siddharathadhumale.blogspot.in/2018/03/check-out-code-from-bitbucket-build.html

Image1Image2Image3

Check out code from Bitbucket-Build Maven, Stop Tomcat, Re-Deploy new war files Using Bamboo


Please refer to the above the link to first configure project, plan and creating task to create deployable war file using Bombat for Bitbucket repository.

http://siddharathadhumale.blogspot.in/2018/03/bamboo-with-bitbucket-maven-project.html


Image1Image2Image3Image4Image5Image6Image7Image8

Bamboo with BitBucket Maven Project

Step 1:- Create Bamboo project

Image1Image2

Step 2:- Create Plan

Image3Image4Image5

Step3:- Configure Task in the above created Plan.

Image6

If you see in above image it shown one task already created and that is checking out of the code in repository
Lets create a new Task that will execute the Maven Build i.e. build.xml from our Maven project kept at BitBucket using bamboo tool.
Click on "Add task" button and as we are using Maven 3 we will configure the same in the Bamboo.
Image7Image8Image9
cick on save and create button.
Step4:- Execute the task and see the build is prepared.

Image10Image11Image12

Step 5:- Check if our war is created properly at given locations.

Please note while using Bamboo version of 6.4.0 we were facing issue with Test Connection button and it was throwing error "git credentials storage exception". So we had taken lower version 6.3.2 and it work like charm.