X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Mon, 17 May 2010 23:35:17 -0400 Message-ID: Subject: Script questions From: Gregg Levine To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello! For the work I do, building and running the Arduino programs first from code retreived from SVN and then building it, I am using Cygwin. Building prior releases worked without complications. I now find out that the latest ones are using Ant from the Apache project group to build each. Here's the thing, the script I am presenting works to tell the whole system where Java is hiding: (Linux) #!/bin/sh export JAVA_HOME=/usr/lib/java export MANPATH="${MANPATH}:${JAVA_HOME}/man" export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin" That one works perfectly, no problems whatsoever. However the export and translation: (Cygwin) GCL AT CmdrSkywalker /etc/profile.d $ cat jdk.sh #!/bin/sh export JAVA_HOME="/cygdrive/c/Program Files/Java" #export MANPATH="${MANPATH}:${JAVA_HOME}/man" export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin" That one, note the instructions to tell Cygwin where Java lives, only tells it where to find the base directory. I am at a minor loss as to how to enable the rest of it so as to be able to find the entire tool chain. Especially since the company behind Java has its own mindset as to how everything is laid out. Now I can just see CGF posting "Why the are you bothering us with this?" (Yes I know you would not probably use foul language online, but, ah, sometimes people do some darned strange things in e-mail, and then want to have it removed, despite the archiving rules of the list.) My reason is that they are building the binaries with Cygwin tools and redistributing the appropriate run-time libraries. And I am also hoping that someone familiar with Ant has collided with these problems before and can offer suggestions. My next step will be to badger the people at the Ant site to offer clews. And also works with the Arduino family. ----- Gregg C Levine gregg DOT drwho8 AT gmail DOT com "This signature fought the Time Wars, time and again." -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple