-
9 Feb 2012 1:16 AM #1Ext JS Premium Member
- Join Date
- Jan 2010
- Location
- Rotterdam, The Netherlands
- Posts
- 383
- Vote Rating
- 8
Mistakenly reports that it cannot be deployed in Project Path.
Mistakenly reports that it cannot be deployed in Project Path.
I try to deploy my project outside the project path using ../..
But when I deploy, it reports: Deploy directory cannot be within Project Path, which is not true in my opinion.
Deploy directory cannot be within Project Path.jpg
-
10 Feb 2012 12:37 PM #2
What is your project path?
Phil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
-
11 Feb 2012 10:34 AM #3
a work around is to set an absolute path here but we should get to the bottom of this. Need more information.
Phil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
-
12 Feb 2012 11:40 PM #4Ext JS Premium Member
- Join Date
- Jan 2010
- Location
- Rotterdam, The Netherlands
- Posts
- 383
- Vote Rating
- 8
I don't think it matters what my path is. ../ is outside it. My directory structure is like this:
-httpdocs
--v5
---app
---designer.html
---designer.js
-design
--v5
---my.xds
---etc
You should be able to reproduce with this information.
For now I have set an absolute path.
-
15 Feb 2012 8:28 AM #5
This is perfect. I just wanted to be sure I understood what you were trying to do so I can write some good tests for this use case.
know that ../ isn't always outside of it
../v5 for instance
At the moment I have a very crude method for deciding your not deploying to your src directory.
Working up a fixPhil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
-
15 Feb 2012 8:49 AM #6Ext JS Premium Member
- Join Date
- Jan 2010
- Location
- Rotterdam, The Netherlands
- Posts
- 383
- Vote Rating
- 8
I get it. (may be split('/') the project and deploy directory into an array then loop through the deploy directory array and pop() the project directory array for each '..' and push() an item for everything else, then check the result and see if your still in the project directory.)
However I found myself now saving the XDS file in the httpdocs/v5 folder, so that I dont have to deploy anymore. I dont mind so much having an XDS file viewable for the world. Or should I mind it?
-
15 Feb 2012 1:39 PM #7
This should make it into next weeks update.
Phil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
Success! Looks like we've fixed this one. According to our records the fix was applied for
DSGNR-1407
in
Architect 2.0.


Reply With Quote