• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: This AppleScript stuff is harder than I thought
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: This AppleScript stuff is harder than I thought


  • Subject: Re: This AppleScript stuff is harder than I thought
  • From: Sparky <email@hidden>
  • Date: Fri, 17 Jun 2005 14:58:18 -0700

I want to say thank you to everybody that has submitted a post in response to my throw-up-the-hands posting. Several have offered script snippet suggestions that work in the general case but don't seem to do everything I need. So let me be more clear about what it is I'm trying to do. First a sentence or two of background.

I've developing a Java-based product that includes a J2SE application and a J2ME MIDlet. The two components will communicate using Bluetooth. I'm primarily using the Eclipse IDE to develop both pieces. Both I also use the NetBeans IDE on occasion (don't ask). In order to test the system using real Bluetooth hardware, I build and test one component on my Windows XP box and other on my Mac. I can mount the XP disk on my Mac, but I don't want to compile across the LAN because it's much too slow. Both projects share some common code -- and that's why I want to be able to just press a button to copy the source tree on one machine over to the other machine. But Eclipse, NetBeans and source code control all keep files interspersed in my source tree for various reasons. The problem is that some of these settings contain platform-specific paths that can't be used on the other platform.

So what I'm trying to do is to copy all folders EXCEPT the ones named 'build' or '.externalToolBuilders'. And I want all files copied except those named '.project', '.classpath' and '.nbattrs'. But these files can occur anywhere in the source tree. Of course, if a file is deleted in the source tree, I also want them to disappear in the destination tree. Etc...

I've tried doing this using the standard Automator Actions. But it appears that the output of Get Folder Contents isn't suitable for use by the Filter Finder Items action. Item names that begin with a period also appear not to be handled properly. The complications seem at this point to be endless. Automator is cool -- truly. At least it seems like it will be down the road. But the capabilities of the current set of actions seem to scream "Version 1.0" to me.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: This AppleScript stuff is harder than I thought
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: This AppleScript stuff is harder than I thought (From: Andrew Oliver <email@hidden>)

  • Prev by Date: Re: This AppleScript stuff is harder than I thought
  • Next by Date: Re: This AppleScript stuff is harder than I thought
  • Previous by thread: Re: This AppleScript stuff is harder than I thought
  • Next by thread: Re: This AppleScript stuff is harder than I thought
  • Index(es):
    • Date
    • Thread