1

When i try to build to the parent folder with HTML5 Boilerplate build script i get this message:

Your dir.publish folder is set to ../ which could delete your entire site or worse.

Firstly, the build script doesn't delete any files, it just replaces them right? Secondly, "or worse"? It's not like I'm googling google or mixing nitroglycerin here :(

Is there a work around?

EDIT: I deleted this line in build.xml:

<equals arg1="${dir.publish}" arg2="../"/>

It works fine but i feel a bit dirty. Should i?

2 Answers 2

1

Haha, I wrote that error message, sorry :( but there is an ant task (clean) in build script which is to delete the publish and intermediate folders. And if you set your publish folder to ../ you can imagine what can happen :)

Sign up to request clarification or add additional context in comments.

1 Comment

Hehe, i'm staying away from that then.
0

As stated in the edit. I funked around in the build.xml and deleted this line:

<equals arg1="${dir.publish}" arg2="../"/>

I haven't had any problems yet but use with caution.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.