Re: [Factor-talk] Include resources in a deployed application

2013-01-04 Thread Samuel Proulx
Ok, thank you!


2013/1/3 Jon Harper jon.harpe...@gmail.com

 I don't remember exactly, but I think you need to create another vocab
 that is not in a subfolder of the vocab you are deploying, put the
 resources in there with a resources.txt file. I guess you also have to USE:
 this new vocab from your main vocab.

 Or you could apply the patch in the second comment, which changes the name
 of the executable to be different than the directory containing the
 resources. It's probably easier for you.

 Jon


 On Fri, Jan 4, 2013 at 12:07 AM, Samuel Proulx proulxsam...@gmail.comwrote:

 No John, it doesn't work for me. I already tried that before posting my
 question. And Yes, Jon, I'm running on Archlinux and, from what I saw, I
 seem to be experiencing that issue. I don't quite understand the solution
 though. Note that a workaround is make the vocab with the resources not
 a child of the deployed vocab: ie instead of A and A.theme, use A and
 A-theme. How do I do that?


 2013/1/3 Jon Harper jon.harpe...@gmail.com

 Are you using GNU/linux ? If so, you might be experiencing this issue:
 https://github.com/slavapestov/factor/issues/678
 Regards,
 Jon

 Jon


 On Thu, Jan 3, 2013 at 11:07 PM, John Benediktsson mrj...@gmail.comwrote:

 I think for your example you would have a resources.txt in your x
 vocabulary directory (e.g., work/x/resources.txt).

 In it would be a single line with test.png.

 Does that work?


 On Thu, Jan 3, 2013 at 2:02 PM, Samuel Proulx 
 proulxsam...@gmail.comwrote:

 Hi,

 I've been trying to deploy an application, but I can't figure out how
 to include image files to my program.

 MAIN-WINDOW: test { { title Test } }
 vocab:x/test.png image-gadget gadgets ;

 I read that I need to include them in the resources.txt file. In the
 previous example, I would need to include the test.png image. I tried a
 couple of things, but I don't understand how to I am supposed to include
 that image without getting an error.

 Thanks in advance,
 Samuel


 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122712
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk




 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122712
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk




 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122712
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk




 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122712
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk




 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122712
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk


--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with 

Re: [Factor-talk] Include resources in a deployed application

2013-01-03 Thread John Benediktsson
I think for your example you would have a resources.txt in your x
vocabulary directory (e.g., work/x/resources.txt).

In it would be a single line with test.png.

Does that work?


On Thu, Jan 3, 2013 at 2:02 PM, Samuel Proulx proulxsam...@gmail.comwrote:

 Hi,

 I've been trying to deploy an application, but I can't figure out how to
 include image files to my program.

 MAIN-WINDOW: test { { title Test } }
 vocab:x/test.png image-gadget gadgets ;

 I read that I need to include them in the resources.txt file. In the
 previous example, I would need to include the test.png image. I tried a
 couple of things, but I don't understand how to I am supposed to include
 that image without getting an error.

 Thanks in advance,
 Samuel


 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122712
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Include resources in a deployed application

2013-01-03 Thread Jon Harper
Are you using GNU/linux ? If so, you might be experiencing this issue:
https://github.com/slavapestov/factor/issues/678
Regards,
Jon

Jon


On Thu, Jan 3, 2013 at 11:07 PM, John Benediktsson mrj...@gmail.com wrote:

 I think for your example you would have a resources.txt in your x
 vocabulary directory (e.g., work/x/resources.txt).

 In it would be a single line with test.png.

 Does that work?


 On Thu, Jan 3, 2013 at 2:02 PM, Samuel Proulx proulxsam...@gmail.comwrote:

 Hi,

 I've been trying to deploy an application, but I can't figure out how to
 include image files to my program.

 MAIN-WINDOW: test { { title Test } }
 vocab:x/test.png image-gadget gadgets ;

 I read that I need to include them in the resources.txt file. In the
 previous example, I would need to include the test.png image. I tried a
 couple of things, but I don't understand how to I am supposed to include
 that image without getting an error.

 Thanks in advance,
 Samuel


 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122712
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk




 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122712
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Include resources in a deployed application

2013-01-03 Thread Jon Harper
I don't remember exactly, but I think you need to create another vocab that
is not in a subfolder of the vocab you are deploying, put the resources in
there with a resources.txt file. I guess you also have to USE: this new
vocab from your main vocab.

Or you could apply the patch in the second comment, which changes the name
of the executable to be different than the directory containing the
resources. It's probably easier for you.

Jon


On Fri, Jan 4, 2013 at 12:07 AM, Samuel Proulx proulxsam...@gmail.comwrote:

 No John, it doesn't work for me. I already tried that before posting my
 question. And Yes, Jon, I'm running on Archlinux and, from what I saw, I
 seem to be experiencing that issue. I don't quite understand the solution
 though. Note that a workaround is make the vocab with the resources not
 a child of the deployed vocab: ie instead of A and A.theme, use A and
 A-theme. How do I do that?


 2013/1/3 Jon Harper jon.harpe...@gmail.com

 Are you using GNU/linux ? If so, you might be experiencing this issue:
 https://github.com/slavapestov/factor/issues/678
 Regards,
 Jon

 Jon


 On Thu, Jan 3, 2013 at 11:07 PM, John Benediktsson mrj...@gmail.comwrote:

 I think for your example you would have a resources.txt in your x
 vocabulary directory (e.g., work/x/resources.txt).

 In it would be a single line with test.png.

 Does that work?


 On Thu, Jan 3, 2013 at 2:02 PM, Samuel Proulx proulxsam...@gmail.comwrote:

 Hi,

 I've been trying to deploy an application, but I can't figure out how
 to include image files to my program.

 MAIN-WINDOW: test { { title Test } }
 vocab:x/test.png image-gadget gadgets ;

 I read that I need to include them in the resources.txt file. In the
 previous example, I would need to include the test.png image. I tried a
 couple of things, but I don't understand how to I am supposed to include
 that image without getting an error.

 Thanks in advance,
 Samuel


 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122712
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk




 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122712
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk




 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122712
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk




 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122712
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk