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

Should ${projectDir} be resolved from the antfile directory or from the user directory? #18

Open
joeytakeda opened this issue Jun 15, 2017 · 2 comments
Labels

Comments

@joeytakeda
Copy link
Collaborator

joeytakeda commented Jun 15, 2017

Running the build from my home directory like so:

ant -lib projectEndings/diagnostics/utilities -f projectEndings/diagnostics/build.xml -DprojectDir=ise/ise3/svn/data/

Results in the build looking for this directory:
Output dir: /home/netlink/jtakeda/projectEndings/diagnostics/ise/ise3/svn/data/

So it looks for ${base.dir}/{$projectDir}--should it be ${user.dir}/${projectDir}?

@martindholmes
Copy link
Collaborator

That doesn't make any sense to me. I think we should simply clarify that if you're passing a directory to the thing at the command line, it should be a full path. That's what happens when you choose a directory in the Oxygen context.

@martindholmes martindholmes added bug and removed question labels Jul 6, 2017
@martindholmes
Copy link
Collaborator

I think the ant task should check whether the target folder exists, and bail if it doesn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants