Use Case : You can not do all the operation using svn with CRXDE or CRXDE light. Also if you are using some other development tool, You can use File system to perform SVN operations.
Pre requisite : You have svn and vlt already set up
For svn set up use svn product guideline
for vlt set up refer http://dev.day.com/docs/en/crx/current/how_to/how_to_use_the_vlttool.html
Solution :
Initial Set up :
$ cd /projects
$ svn mkdir http://svn.server.com/repos/myproject
$ svn co http://svn.server.com/repos/myproject
$ vlt export -v http://localhost:4502/crx /apps/geometrixx geometrixx
$ cd geometrixx/
$ svn add META-INF/ jcr_root/
$ svn ci
Changes made in File System and update to local repository (JCR) If you are using vlt sync then you don't have to do this:
$ cd /projects/geometrixx
$ vlt -v import http://localhost:4502/crx . /
Or
$ vlt add <File you added>
$ vlt ci
Or
$ vlt st
$ vlt ci
Changes made in SVN and update to File system :
$ cd /projects/geometrixx
$ svn st
M META-INF/vault/properties.xml
M jcr_root/apps/geometrixx/components/contentpage/.content.xml
$ svn up
If you are using vlt sync then you don't have to use this option
$ vlt ci
Changes made in repository and update it back to file system (With vlt sync you don't have to use this)
1) go to: content/jcr_root/<Path>
2) vlt up --force
Changes made in a file in local file system and update repository:
For example you are changing one file
1) go to: .../jcr_content/libs/foundation/components/text
2) edit something in text.jsp
3) see the modified files vlt st
4) see the changes: vlt diff text.jsp
5) commit the changes: vlt ci test.jsp
6) reload page containing a text component and see that it worked
So direction could be any thing (After initial set up, You don't have to do it when using vlt sync)
repo change ---> vlt st ---> vlt up --> svn st --> svn ci
svn change ----> svn st --> svn up --> vlt ci
file system change ---> vlt st ---> vlt ci And then svn st ----> svn ci
Now with vlt synch option you can synch between your eclipse project and crx. This helps not to use vlt ci every time you make file system changes and use vlt up when you make crxde changes.
More infirmation about vlt synch can be found here http://dev.day.com/docs/en/crx/current/how_to/how_to_use_the_vlttool.html#Using%20VLT%20sync%20for%20development
Pre requisite : You have svn and vlt already set up
For svn set up use svn product guideline
for vlt set up refer http://dev.day.com/docs/en/crx/current/how_to/how_to_use_the_vlttool.html
Solution :
Initial Set up :
$ cd /projects
$ svn mkdir http://svn.server.com/repos/myproject
$ svn co http://svn.server.com/repos/myproject
$ vlt export -v http://localhost:4502/crx /apps/geometrixx geometrixx
$ cd geometrixx/
$ svn add META-INF/ jcr_root/
$ svn ci
Changes made in File System and update to local repository (JCR) If you are using vlt sync then you don't have to do this:
$ cd /projects/geometrixx
$ vlt -v import http://localhost:4502/crx . /
Or
$ vlt add <File you added>
$ vlt ci
Or
$ vlt st
$ vlt ci
Changes made in SVN and update to File system :
$ cd /projects/geometrixx
$ svn st
M META-INF/vault/properties.xml
M jcr_root/apps/geometrixx/components/contentpage/.content.xml
$ svn up
If you are using vlt sync then you don't have to use this option
$ vlt ci
Changes made in repository and update it back to file system (With vlt sync you don't have to use this)
1) go to: content/jcr_root/<Path>
2) vlt up --force
Changes made in a file in local file system and update repository:
For example you are changing one file
1) go to: .../jcr_content/libs/foundation/components/text
2) edit something in text.jsp
3) see the modified files vlt st
4) see the changes: vlt diff text.jsp
5) commit the changes: vlt ci test.jsp
6) reload page containing a text component and see that it worked
So direction could be any thing (After initial set up, You don't have to do it when using vlt sync)
repo change ---> vlt st ---> vlt up --> svn st --> svn ci
svn change ----> svn st --> svn up --> vlt ci
file system change ---> vlt st ---> vlt ci And then svn st ----> svn ci
Now with vlt synch option you can synch between your eclipse project and crx. This helps not to use vlt ci every time you make file system changes and use vlt up when you make crxde changes.
More infirmation about vlt synch can be found here http://dev.day.com/docs/en/crx/current/how_to/how_to_use_the_vlttool.html#Using%20VLT%20sync%20for%20development
Thank you very much for this article
ReplyDeletePackers and Movers Airport Road Pune, Packers and Movers Ambegaon Pune, Packers and Movers Aundh Gaon Pune, Packers and Movers Balaji Nagar Pune, Packers and Movers Baner Pune, Packers and Movers Bavdhan Pune, Packers and Movers Budhwar Peth Pune, Packers and Movers Bund Garden Road Pune, Packers and Movers Cantonment Pune, Packers and Movers Chandan Nagar Pune, Packers and Movers Chinchwad Pune, Packers and Movers Chinchwad Gaon Pune, Packers and Movers Connaught Road Pune, Packers and Movers Dange Chowk Pune, Packers and Movers Dattawadi Pune, Packers and Movers Daund Pune, Packers and Movers Deccan Gymkhana Pune, Packers and Movers Dr Ambedkar Road Pune, Packers and Movers Fatima Nagar Pune
Thank you very much for this article
ReplyDeletePackers and Movers Ganesh Nagar Pune, Packers and Movers Gaothan Pune, Packers and Movers Hadapsar Pune, Packers and Movers Hinjewadi Pune, Packers and Movers Indapur Pune, Packers and Movers Junnar Pune, Packers and Movers Kalewadi Pune, Packers and Movers Karve Nagar Pune, Packers and Movers Katraj Pune, Packers and Movers Keshav Nagar Pune, Packers and Movers Kharadi Pune, Packers and Movers Lohegaon Pune, Packers and Movers Lulla Nagar Pune, Packers and Movers Mahatma Gandhi Road Pune, Packers and Movers Mangaldas Road Pune, Packers and Movers Mukund Nagar Pune, Packers and Movers Mulshi Pune, Packers and Movers Mundhwa Pune
Thank you very much for this article
ReplyDeletePackers and Movers Narhe Pune, Packers and Movers Parvati Pune, Packers and Movers Pimple Saudagar Pune, Packers and Movers Pimpri Pune, Packers and Movers Purandar Pune, Packers and Movers Rajguru Nagar Pune, Packers and Movers Sadhu Vaswani Road Pune, Packers and Movers Sangamvadi Pune, Packers and Movers Shirur Pune, Packers and Movers Theur Pune, Packers and Movers Vidyashree Pune, Packers and Movers Vidyut Nagar Pune, Packers and Movers Viman Nagar Pune, Packers and Movers Vishrantwadi Pune, Packers and Movers Vithalwadi Road Pune, Packers and Movers Wadgaon Sheri Pune, Packers and Movers Wakad Pune, Packers and Movers Warje Pune, Packers and Movers Yerawada Pune
Thank you very much for this article.
ReplyDeletePackers and Movers in Pune
Packers and Movers in Gurgaon
Packers and Movers in Bangalore
Thank you very much for this article
ReplyDeletePackers and Movers in Mumbai
Packers and Movers in Navi Mumbai
Packers and Movers in Thane
Packers and Movers in Ghaziabad
Packers and Movers in Faridabad
Packers and Movers in Delhi
Packers and Movers in Noida