• 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
Java Application Servers Development
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java Application Servers Development


  • Subject: Java Application Servers Development
  • From: Niels Meersschaert <email@hidden>
  • Date: Wed, 4 May 2005 12:22:53 -0400

What happened to the J2EE XCode options in XCode 2.0?  I don't see an option to install them in the new XCode installer.  Since I did an upgrade they are still available, but there are some problems that arise in Tiger with the current templates.  The templates created a build directory called ant.dist.  In Tiger, anything has a dist extension is thought to be a Installer Distribution, so the icon changes & you can't access the contents without choosing Show Package Contents.  Granted, I can change the existing build.xml files to fix this, but has Apple dropped supporting J2EE development with XCode?

Also, those scripts included a helpful install target that copied the built war/ear file to the deploy directory in JBoss.  At least on my Tiger Server install, the permissions have changed on that directory.  After adding my user to the appserver group, I could get in via command line, but the ant target install still doesn't work.

<target name="install" depends="dist">
    <!-- Delete previous exploded project, if any. -->
    <delete dir="${servlet.container.webapps.dir}/${web.module.name}"/>

    

    <!-- Ensure that whole WAR is copied first before JBoss deployer notices it.
      "#*" will be ignored by the JBoss deployer. -->
    <property name="tempFile"
      value="${servlet.container.webapps.dir}/#${web.module.name}.war"/>
    <copy tofile="${tempFile}" file="${web.module.dist}/${web.module.name}.war"/>
    <move tofile="${servlet.container.webapps.dir}/${web.module.name}.war"
      file="${tempFile}"/>

    

  </target>

The copy action is the one failing with a Permission denied error.  Isn't the ant script running as my user id?

Any help would be appreciated.

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: Java Application Servers Development
      • From: Niels Meersschaert <email@hidden>
  • Prev by Date: Re: How can I get Xcode 2.0?
  • Next by Date: Re: command line building - I'm pissed at Apple [10.4]
  • Previous by thread: Re: How can I get Xcode 2.0?
  • Next by thread: Re: Java Application Servers Development
  • Index(es):
    • Date
    • Thread