how to use the codename one sources

9
codenameone.com github.com/codenameone/CodenameOne/ How Do I? Debug Into Codename One Source, Modify it & Contribute it Back

Upload: shai-almog

Post on 23-Jan-2018

40.201 views

Category:

Mobile


0 download

TRANSCRIPT

Page 1: How To Use The Codename One Sources

codenameone.com github.com/codenameone/CodenameOne/

How Do I?Debug Into Codename One Source,

Modify it & Contribute it Back

Page 2: How To Use The Codename One Sources

codenameone.com github.com/codenameone/CodenameOne/

Steps:Fork On Github Clone Download Run/Debug Changes Contributions?

Page 3: How To Use The Codename One Sources

codenameone.com github.com/codenameone/CodenameOne/

Fork On GithubSignup for github and verify your email address Go to:

github.com/codenameone/CodenameOne github.com/codenameone/codenameone-skins

Press the fork button in each project Press star & watch as well (for good measure)

Page 4: How To Use The Codename One Sources

codenameone.com github.com/codenameone/CodenameOne/

CloneReplicate the GIT repositories locally Copy the url here:

Select git clone in NetBeans, use URL + credentials

Page 5: How To Use The Codename One Sources

codenameone.com github.com/codenameone/CodenameOne/

DownloadGo to: github.com/codenameone/cn1-binaries Press download zip Extract to same project hierarchy as other projects Make sure the directory name is cn1-binaries and not cn1-binaries-master or something else

Page 6: How To Use The Codename One Sources

codenameone.com github.com/codenameone/CodenameOne/

Run/DebugIn your own project: Open project preferences go to libs Remove the jars and select “Add Project” select “CodenameOne/CodenameOne” Select “run” Remove the jar and select “Add Project” select “CodenameOne/Ports/JavaSE” Make sure the projects are at the top of the classpath Debugging should let you step into Codename One now!

Page 7: How To Use The Codename One Sources

codenameone.com github.com/codenameone/CodenameOne/

ChangesYou can use Apply Code Change during debug You can commit and push to GIT any fix you would like When ready to contribute click here in your fork:

Page 8: How To Use The Codename One Sources

codenameone.com github.com/codenameone/CodenameOne/

ContributionsMake sure you own the code you contribute! If you copy open source code make sure to retain the original copyright and license headers! We suggest discussing contributions in the issue tracker/discussion forums first

Page 9: How To Use The Codename One Sources

codenameone.com github.com/codenameone/CodenameOne/

Thank YouWe appreciate our entire community, you are the real force behind Codename One!