Page 1 of 1

How do I add miscellaneous files to project

PostPosted: Sat May 10, 2014 4:50 pm
by steve1376656734
Hi,

I have a number of plain text files and word documents that I use as templates within my solution. I would like to add these to my Servoy project so that I can include them in my SVN repository and have them versioned and all the other good things that come with keeping things under source control. How can I add these files (which have .txt, .html and .dot file extensions) to my project within Servoy/Eclipse and if I can add them will it have any negative effects when I export my solution?

Thanks

Steve

Re: How do I add miscellaneous files to project

PostPosted: Sun May 11, 2014 11:16 am
by jasantana
Hi Steve.
What I use to do is have a module and use its media folder to store the files.
If you are using Servoy 7 you can even create subfolders inside the media folder.
I hope this helps

Re: How do I add miscellaneous files to project

PostPosted: Sun May 11, 2014 9:08 pm
by mboegem
jasantana wrote:What I use to do is have a module and use its media folder to store the files.
If you are using Servoy 7 you can even create subfolders inside the media folder.


Make sure you don't include this module when you export your solution.
When you will do that, you will also import these files when starting clients after deployment...

Re: How do I add miscellaneous files to project

PostPosted: Mon May 12, 2014 9:42 am
by jasantana
mboegem wrote:Make sure you don't include this module when you export your solution.
When you will do that, you will also import these files when starting clients after deployment deployment...


Sorry, I forgot to mention

Re: How do I add miscellaneous files to project

PostPosted: Mon May 12, 2014 10:43 am
by deezzub
steve1376656734 wrote:I have a number of plain text files and word documents that I use as templates within my solution. I would like to add these to my Servoy project so that I can include them in my SVN repository and have them versioned and all the other good things that come with keeping things under source control. How can I add these files (which have .txt, .html and .dot file extensions) to my project within Servoy/Eclipse and if I can add them will it have any negative effects when I export my solution?


You can use the Servoy (Eclipse) "Project Explorer" or "Navigator" (Window --> Show View --> General) to add files (New --> Other --> General --> File). There you can also add the files to version control (Git, SVN etc.). You can also use tools like file explorers and TortoiseGit or TortoiseSVN to add your files to the version control. Also you can use the Git and SVN command line tools to add the files to your project.

Re: How do I add miscellaneous files to project

PostPosted: Mon May 12, 2014 3:33 pm
by steve1376656734
Thanks all for your replies - I have opted for deezzub's solution and it is working well so far - if I find any 'gotchas' I'll post back here.