Ant basedir problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aldsaldrin
    New Member
    • Nov 2008
    • 31

    Ant basedir problem

    Hi,

    <project name="Project" default="defaul t.info" basedir=".">

    How do I know where the basedir is pointed/located? Any help is much appreciated..

    Many thanks..
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    In directory terms, "." means "here". So that file should be in the same directory as the project.

    Greetings,
    Nepomuk

    Comment

    • aldsaldrin
      New Member
      • Nov 2008
      • 31

      #3
      Tnx Nepomuk,

      Just a clarification, the file you meant is the xml file having those root elements? Sorry if the questions seems dumb..

      Many thanks..

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Just thought I'd add that "ant tutorial" will give some interesting hits on Google.

        Comment

        • froggythefrog

          #5
          It was Google that brought me here. Sometimes I need to know more than ".". Ant documentation states it's an absolute path -- which so far I haven't found to be true. I'd kill for an absolute path so I don't have to hardscode one into my ant script.

          Comment

          Working...