Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ant complains about missing build dir #19

Closed
rdeltour opened this issue Oct 15, 2013 · 5 comments
Closed

ant complains about missing build dir #19

rdeltour opened this issue Oct 15, 2013 · 5 comments
Labels
type: bug The issue describes a bug

Comments

@rdeltour
Copy link
Member

From saltyho...@gmail.com on September 09, 2008 15:20:54

${build.dir} is defined as ${epubcheck.base.dir}/bin.

The target 'removeClasses' tries to delete ${build.dir}/org and fails with
the error:

BUILD FAILED
epubcheck/com.adobe.epubcheck/build.xml:38: Directory does not
exist:epubcheck/com.adobe.epubcheck/bin

I'm using Apache Ant version 1.7.0

I've never used ant before, so I'm not sure where the best place for the
fix is, but putting '' right after the
definition of the ${build.dir} property seems to work.

Original issue: http://code.google.com/p/epubcheck/issues/detail?id=19

@rdeltour
Copy link
Member Author

From soroto...@gmail.com on September 09, 2008 09:56:47

Status: Accepted

@rdeltour
Copy link
Member Author

From soroto...@gmail.com on September 09, 2008 09:58:14

Labels: Component-Scripts

@rdeltour
Copy link
Member Author

From soroto...@gmail.com on September 09, 2008 14:15:02

Should be fixed in 1.0.1

Status: Fixed

@rdeltour
Copy link
Member Author

From saltyho...@gmail.com on September 09, 2008 14:28:53

It still fails. On line 38, removeClasses tries to delete the non-existing build dir:


The correct fix is not to remove the deletion of the directory. It also needs to be
created. If it isn't created, 'compile' will fail on:
destination directory "/path/to/epubcheck/com.adobe.epubcheck/bin" does not exist or
is not a directory

To test this yourself, do a clean checkout, or do "svn stat" and remove any
files/directories marked with question marks.

@rdeltour
Copy link
Member Author

From saltyho...@gmail.com on September 09, 2008 14:28:53

It still fails. On line 38, removeClasses tries to delete the non-existing build dir:
<delete>
<fileset dir="${build.dir}" includes="/."/>
</delete>

The correct fix is not to remove the deletion of the directory. It also needs to be
created. If it isn't created, 'compile' will fail on:
destination directory "/path/to/epubcheck/com.adobe.epubcheck/bin" does not exist or
is not a directory

To test this yourself, do a clean checkout, or do "svn stat" and remove any
files/directories marked with question marks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug The issue describes a bug
Projects
None yet
Development

No branches or pull requests

1 participant