Menu

Windows build.bat

Help
2002-01-15
2002-01-22
  • meghan pike

    meghan pike - 2002-01-15

    Hey, Does anyone have a Build.bat file for use with windows obviously, that does the same thing as build.sh? I've tried to make one but it's stretched my knowledge of bat files to breaking point. (basically all my knowledge is cadged from autoexec.bat)
    Jason said someone had one long long ago. Are they still out there?

     
    • Jason Baldridge

      Jason Baldridge - 2002-01-15

      I'm attaching the build.bat that JDOM uses.  I used JDOM's build set-up, but didn't add the .bat file since I wasn't in a position to make sure it worked.  Let me know if this helps! -j

      @echo off

      echo JDOM Build System
      echo -------------------

      if "%JAVA_HOME%" == "" goto error

      set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;.\lib\xerces.jar;.\lib\ant.jar;.\lib\jaxp.jar;%ADDITIONALCLASSPATH%
      set ANT_HOME=./lib

      echo Building with classpath %LOCALCLASSPATH%

      echo Starting Ant...

      "%JAVA_HOME%\bin\java.exe" -Dant.home="%ANT_HOME%" -classpath "%LOCALCLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5

      goto end

      :error

      echo ERROR: JAVA_HOME not found in your environment.
      echo Please, set the JAVA_HOME variable in your environment to match the
      echo location of the Java Virtual Machine you want to use.

      :end

      set LOCALCLASSPATH=

       
    • Jason Baldridge

      Jason Baldridge - 2002-01-15

      I'm attaching the build.bat that JDOM uses.  I used JDOM's build set-up, but didn't add the .bat file since I wasn't in a position to make sure it worked.  Let me know if this helps! -j

      @echo off

      echo JDOM Build System
      echo -------------------

      if "%JAVA_HOME%" == "" goto error

      set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;.\lib\xerces.jar;.\lib\ant.jar;.\lib\jaxp.jar;%ADDITIONALCLASSPATH%
      set ANT_HOME=./lib

      echo Building with classpath %LOCALCLASSPATH%

      echo Starting Ant...

      "%JAVA_HOME%\bin\java.exe" -Dant.home="%ANT_HOME%" -classpath "%LOCALCLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5

      goto end

      :error

      echo ERROR: JAVA_HOME not found in your environment.
      echo Please, set the JAVA_HOME variable in your environment to match the
      echo location of the Java Virtual Machine you want to use.

      :end

      set LOCALCLASSPATH=

       
    • meghan pike

      meghan pike - 2002-01-22

      Hey!

      Sorry for taking so long. My environment seems totally unable to keep a
      persistant Java_home variable. But now I've got the longest set classpath in
      the history of the JVM and it works, which is nice. :) Hell I even got Pipeline
      working, though I didn't have a document to input to it. :p

      Anyway, I was wondering if there was anything I could do now... I've got the
      build file here, but it's a bit bodged at the moment, I could tart it up if you
      want.

      I've read all the notes over and there isn't much about categorical grammers.
      Is there anything onthe internet?

      Oh and is there any little example programs in grok?

      regards

      Meghan

       
      • Jason Baldridge

        Jason Baldridge - 2002-01-22

        Cool.  Glad to hear that you've got things crunching!

        > I've read all the notes over and there isn't much about categorical grammers.
        > Is there anything onthe internet?

        Check out Mark Steedman's publications:

        http://www.cogsci.ed.ac.uk/~steedman/papers.html

        In particular, here is a good place to start:

        ftp://ftp.cis.upenn.edu/pub/steedman/ccg/ccgintro.ps.gz

        > Oh and is there any little example programs in grok?

        There is a directory in grok/samples that contains two samples. One is
        for pipes, the other for parsing.  It might not have been there when
        you first checked things out.  Anyway, from the toplevel "grok"
        directory, run the command "cvs update -dP" and you should see these
        directories pop up if they are not already there.  There are some
        minimal instructions, but feel free to send a note if you have any
        troubles.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.