Do we really need .AFM files anymore in OSX?

Just going through and cleaning up the Font Library at my new workplace. All our work stations are Macs using OSX and Suitcase to manage our fonts. Is there any reason these days to save the .AFM files associated with our Macintosh Type 1 fonts?

Ken:
I didn't think so, either. But many of these font packages seem old and dating back to the pre OSX days, and they are Mac fonts, not Windows, so I'm wondering what they were even used for.

Similar Messages

  • My operating system has just vanished !! The laptop turns on but dose not go past the apple logo and I really need my files from my hard drive ASAP ??

    My laptop had lost it's operating system,it turns on and the logo comes up with the spinning wheel And that's as far as it goes, I can not get into safety mode. I can not open my bios and I desperately need by collage files from the hard drive. Please help!!

    Try booting in Safe Mode.  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 

  • Time Machine Has All My Music, Do I Need My CDs Anymore?

    Silly question, perhaps. Time Machine has ALL my music from my CDs and that music which I have downloaded. Now, I only use my iTunes for listening to music - my CDs are all packed away. So, do I really need my CDs anymore or can I sell them, give them away? If you house catches fire, the CDs are gone anyway and I'm grabbing the Time Capsule . . .
    ~ Anna

    Hi, and welcome to the forums.
    Unless you also have at least one set of backups off-site, keep them (in your safe deposit box, workplace, relative's house, or other secure place).
    I hate to even suggest the possibility, but just the other day someone posted where his Mac and external HD containing his backups were stolen.
    You can also lose both your originals and backups in cases of fire, flood, or direct lightning strike on your power lines.
    See #27 in Time Machine - Frequently Asked Questions (or use the link in *User Tips* at the top of this forum) for some suggestions.

  • I have a canon 70d and just purchased elements 12. It will not open a raw file for me. I have been advised to download the latest version of camera raw, i have done this and it still says my camera is not supported. I really need to open my raw files. Can

    i have a canon 70d and just purchased elements 12. It will not open a raw file for me. I have been advised to download the latest version of camera raw, i have done this and it still says my camera is not supported. I really need to open my raw files. Can anybody help me.

    You'll need to update to at least ACR 8.2 for the 70D to be recognized.  The normal way to update PSE12 to the latest CR is to use Help / Updates in the Editor which should update to ACR 8.5.
    According to Adobe's website PSE12 shipped with ACR 8.1 and you say it says yours is reported as ACR 8.0.
    Are you using PSE 11 and not 12?  PSE 11's maximum ACR version is 8.0.

  • I really need someone to help me. I have been trying to figure out how to select a PDF document to convert to a Word doc. When I go to select a PDF file, all that shows up is the WORD docs. does not show ANY of my PDF files... Please help me figure out wh

    I really need someone to help me. I have been trying to figure out how to select a PDF document to convert to a Word doc. When I go to select a PDF file, all that shows up is the WORD docs. does not show ANY of my PDF files... Please help me figure out what is going on? We have it set on auto renewal so I know its not that we haven't renewed this subscription, because we pay automatically.

    Hi olivias,
    It sounds like there may be some confusion on your system about what application should be associated with PDF files. You can reset filename associations by following the steps in these articles (depending on your operating system):
    How to change the default application for a file type | Macworld
    http://windows.microsoft.com/en-us/windows/change-default-programs#1TC=windows-7
    Please let us know if you have additional questions.
    Best,
    Sara

  • HT4818 When I try to partition my hard drive for Windows 7, I get an error saying The disk cannot be partitioned because some files cannot be moved. I have a 2006 Macbook Pro I believe and I really need assistance as soon as possible.

    I have Windows 7 Premium Home and I have downloaded the Drivers and when I click Boot Camp Assistance to partition my hard drive, it says, "The disk cannot be partitioned because some files cannot be moved. Back up the disk and use Disk Utility to format it as a single Mac OS Extended (Journaled) volume. Restore your information to the disk and try using Boot Camp Assistant again." I can't do any backup really because I don't have an external hard drive to work with. I tried repairing disk permissions but that did not do anything. I really need a lot of help with this with some easy, step-by-step tutorials or something. I believe I have a 2006 version of Macbook Pro(4,1).

    Once you have obtained an external drive and connected it you will 'clone' your internal drive to it.
    Download Carbon Copy Cloner (it is not free but there is a fully functional trial version which is). Use it to clone your internal drive to your external drive. When that is done you will reboot from the clone and use Disk Utility to erase the internal drive (choose Mac OS Extended (Journaled)) as the format (this is normally preset, but check). Make sure to give the external drive a 'distinctive' name, don't want to get drives mixed up in this process.
    Once that is done you will use Carbon Copy Cloner (from the clone) to restore the external to the internal.

  • I really need to go back to the save I made a day ago, my time machine is not set up and files haven't been automatically uploading to cc is there anyway I can go back a day in saves?

    Hi, I just had an issue with a photoshop document, my mac book temporarily crashed the screen glitches and deleted some vital layers I had constructed (took half a day) I thought I could correct it and saved it a few times in a panic and now i really need to go back to the save I made a day ago, my time machine is not set up and I just realised my files haven't been automatically uploading to cc is there anyway I can go back a day in saves?

    Trevor.Dennis wrote:
    So you don't have anything like Shadow Protect running in the background?
    Video editing software only needs to save the steps taken to achieve the edit, and references the actual video files from the hard drive.  So the saved files are only tiny, and it takes very little drive space to auto save to incrementing file names.  Obviously, Photoshop files can be huge by comparison, so the only way to save with a different file name is to do it manually.
    I think most regular posters to this forum make a point of updating the file name of a large project every hour or so, and as a direct response to reading so many horror stories like your own.  The worst story I remember was from a poster whose computer had crashed half way through saving a large PSD file.  After several response, questions and answers, it turned out he was using a laptop with a failing battery.  He told us that he could see the battery was getting low, but left it and left it before finally hitting Ctrl s and running off to find the laptop's power lead. When he got back the laptop had run out of power and shut down, and his PSD file was lost forever.  He may have been a prime candidate to a computing Darwin Award, but his stupidity still did the rest of us a service so we could learn from his mistake.
    Ouch. 
    My digital audio workstation works on the same principle; it creates a backup save just in case things go wrong (which--knock on wood--hasn't happened to me) and only references audio/MIDI files that are related to the project.
    My advice is to always, always back up sensitive documents. There are lots of ways of doing this, from manually to automatically. (e.g., A lot of higher-end routers let you connect external storage via USB so you can run backup software that detects any changes to a monitored folder over a network and then backs up any changed/updated documents to the connected storage. I prefer to do it myself manually, though.)

  • I just updated my iphone4 to iOS5.1 and now I cant use my 3g, everything on my cellular data's right but I cant activate my 3g anymore, can you help me please? thank you! i really need it

    I just updated my iphone4 to iOS5.1 and now I cant use my 3g, everything on my cellular data's right but I cant activate my 3g anymore, can you help me please? thank you! i really need it

    Did you try to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comes back again? You will not lose data doing a reset.
    If this does not work, set it up again as new device, without using the latest backup afterwards.
    How to back up your data and set up as a new device

  • Hello. My mac can't connect to my time capsule. There is no response and I can't put it back to the originals definitions because all my files are there and I can´t loose them. (sorry about my bad english, but I really need help!)

    Hello. My mac can't connect to my time capsule. There is no response and I can't put it back to the originals definitions because all my files are there and I can´t loose them. (sorry about my bad english, but I really need help!)

    Your files are unaffected by a reset.. no reset via the reset button on the TC harms, deletes or does anything to your files.
    The Factory Reset universal
    Unplug your TC/AE. Hold in reset. and power the TC/AE back on..  all without releasing reset and keep holding in for about 10sec. The time is not important.. it is the front LED rapid flashing that indicates you are in factory mode.
    Release reset.
    If it doesn’t flash rapidly you have released reset at some point and try again.
    Be Gentle! Feel the switch click on. It has a positive feel..  add no more pressure after that.
    TC/AE will reboot after a couple of minutes with default factory settings and will wipe out previous configurations.
    No files are deleted on the hard disk.. No reset of the TC deletes files.. to do that you use erase from the airport utility.
    Here is how to do a fully manual setup for TC which is sometimes necessary with Mavericks in particular.
    Airport Utility shows "unexpected error - please try again" when connecting to Time Capsule

  • HT204382 music files that I'm trying to transfer from my external hard drive!!! i really need help! i am getting very frustrated. plz help me thank you

    hi. i am trying to transfer my old pictures and music files from my external drive into my new laptop.and first of all only a coupleof my foldersare coming up.and even those few files/folders wont play ....i am new to mac.i REALLY need help. my old pictures and music are real important to me.plz help me.

    IS the external HD from another Mac or a PC?

  • My LR previews data file has just gone over 50GB, how can I shrink it as I really need the space on my laptop?

    My LR previews data file has just gone over 50GB, how can I shrink it as I really need the space on my laptop?

    Or if you don't want to delete all of it, you can just discard 1:1 previews using Library->Previews menu - that may or may not buy you the space you need.
    If you do opt for deleting the whole thing, here is an idea to keep it from going back to 50G: change the size/quality of standard previews and/or the policy for auto-removing 1:1 previews (Lr Preferences -> Catalog Settings -> File Handling).

  • AFM Files & Kerning

    I am on a mac snow leopard working mostly in Illustrator. Others apps InDesign, After Effects, Premiere. Can someone please explain AFM files, how and  when to use them?
    Please correct or confirm, but my understanding is that AFM information is in the bitmapepd files of older formats, and within opentype, so there really is no need for .AFM files on the mac.
    If the kerning information is in the font already, then why do you always have to kern ones and periods in most fonts. Optical seems to do a better job than auto, but I often later have to tighten the tracking. Is auto using the AFM infomration in the font, and optical is using the Illustrator engine to calculate new kern pairs.

    AFM (Adobe Font Metric) files contained detailed metrics associated with legacy Type 1 fonts including not only advance widths, but also information such as pair kerning information that would/should be used for layout programs. On the MacOS, most of the AFM information was also included in the bitmap format files that accompanied the actual font outline file. Since the days of Adobe Type Manager and then the built-in Type 1 font renderer in MacOS, the only reason for the bitmap format files was for this font metric information and in fact, you only needed one such bitmap font file per outline file. For Windows, much of AFM information is stored with the .PFM (PostScript Font Metrics) file that accompanies and is installed with the .PFB (PostScript Font Binary) file containing the actual font outlines and some minimal metrics.
    TrueType, TrueType OpenType, and OpenType CFF fonts have all font metrics included in the .TTF or .OTF files themselves and as such, do not require any secondary font metrics information.
    Whether you kern using the metrics or automatic/optical option, really depends on your tastes and the font itself. The optical option algorithmically creates pair kerning based upon the actaul fit of two glyphs with each other. The techniques are rather sophisticated, but work amazingly well (except when they don't ).
              - Dov

  • Error in deploying my spring web app, really need help?!

    I am using eclipe 3.3.0 and tomcat 5.5.23, spring 2.0.6
    And I get this error while deploying.
    Can anyone tell me where it is comming from and what i should do to fix it?
    If you need any more info please ask that too, I really need help..
    I have browsed all over the internet, but found nothing really helpful..
    In my browser I get a Http status 500 error:
    exception
    javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
         java.lang.Thread.run(Unknown Source)
    root cause
    java.lang.NoClassDefFoundError: javax/servlet/jsp/JspFactory
         org.apache.jasper.servlet.JspServlet.init(JspServlet.java:100)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
         java.lang.Thread.run(Unknown Source)
    And this is what I see in the console:
    10-sep-2007 14:16:11 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_12\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jre1.6.0_02\bin\client;C:\Program Files\Java\jre1.6.0_02\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\maven\maven-2.0.7\bin;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\QuickTime\QTSystem\;C:\Java\SDK\bin;C:\maven\maven-2.0.7\bin;C:\apache-ant-1.7.0\bin;C:\spring-framework-2.0.6
    10-sep-2007 14:16:11 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8090
    10-sep-2007 14:16:11 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 4312 ms
    10-sep-2007 14:16:12 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    10-sep-2007 14:16:12 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
    10-sep-2007 14:16:12 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.TldConfig).
    log4j:WARN Please initialize the log4j system properly.
    10-sep-2007 14:16:14 org.apache.commons.modeler.Registry registerComponent
    SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/SpringBikeApp,J2EEApplication=none,J2EEServer=none
    10-sep-2007 14:16:14 org.apache.catalina.core.ApplicationContext log
    SEVERE: StandardWrapper.Throwable
    java.lang.NoClassDefFoundError: javax/servlet/jsp/JspFactory
         at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:100)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    10-sep-2007 14:16:14 org.apache.catalina.core.StandardContext loadOnStartup
    SEVERE: Servlet /SCWCD threw load() exception
    java.lang.NoClassDefFoundError: javax/servlet/jsp/JspFactory
         at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:100)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    10-sep-2007 14:16:14 org.apache.commons.modeler.Registry registerComponent
    SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/SCWCD,J2EEApplication=none,J2EEServer=none
    10-sep-2007 14:16:14 org.apache.catalina.core.ApplicationContext log
    SEVERE: StandardWrapper.Throwable
    java.lang.NoClassDefFoundError: javax/servlet/jsp/JspFactory
         at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:100)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    10-sep-2007 14:16:14 org.apache.catalina.core.StandardContext loadOnStartup
    SEVERE: Servlet threw load() exception
    java.lang.NoClassDefFoundError: javax/servlet/jsp/JspFactory
         at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:100)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    10-sep-2007 14:16:14 org.apache.commons.modeler.Registry registerComponent
    SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/,J2EEApplication=none,J2EEServer=none
    10-sep-2007 14:16:14 org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8090
    10-sep-2007 14:16:15 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    10-sep-2007 14:16:15 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/187 config=null
    10-sep-2007 14:16:15 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    10-sep-2007 14:16:15 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 3578 ms
    Many Thanks in advance for any help!!
    Grz Barbera

    hi istvan,
    we are also migrating from websphere to netweaver.
    But in spring framework we r facing problems.
    We hav spring-beans.jar file in lib dir of Web Application. But When we are creating BeanFactory from xml as,
    BeanFactory beanFactory = new ClassPathXmlApplicationContext ("client-config.xml");
    clent-config.xml file contains :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
    <beans>
         <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" >
              <property name="location">
                   <value>conf/service-client/client.properties</value>
              </property>
         </bean></beans>
    But code is giving exception: ClassNotFoundException -org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.
    Wat is the problem ?
    Kindly help.
    We are also using JAAS for authentication.We are refering above code from our LoginModules login() method.
    Regards,
    sagar.

  • Anybody who can help me? I really need your help

    I've tried to execute J2ee tutorial examples.
    I don't know why this sample didn't execute...I've already finished to set up J2EE and enviornment variables.
    I was trying this part from j2ee tutorial titled as "Packing Web modules".
    Whenever I type "asant create-war" to make web modules in command window. I always got error.
    Packaging Web Modules(From J2ee tutorial for your information)
    A web module must be packaged into a WAR in certain deployment scenarios and whenever you want to distribute the web module. You package a web module into a WAR using the Application Server deploytool utility, by executing the jar command in a directory laid out in the format of a web module, or by using the asant utility. This tutorial allows you to use use either the first or the third approach. To build the hello1 application, follow these steps:
    In a terminal window, go to <INSTALL>/j2eetutorial14/examples/web/hello1/.
    Run asant build. This target will spawn any necessary compilations and will copy files to the <INSTALL>/j2eetutorial14/examples/web/hello1/build/ directory.
    To package the application into a WAR named hello1.war using asant, use the following command:
    asant create-war
    This command uses web.xml and sun-web.xml files in the <INSTALL>/j2eetutorial14/examples/web/hello1 directory.
    To learn how to configure this web application, package the application using deploytool by following these steps:
    Start deploytool.
    Create a web application called hello1 by running the New Web Component wizard. Select FileNewWeb Component.
    In the New Web Component wizard:
    Select the Create New Stand-Alone WAR Module radio button.
    In the WAR File field, enter <INSTALL>/j2eetutorial14/examples/web/hello1/hello1.war. The WAR Display Name field will show hello1.
    In the Context Root field, enter /hello1.
    Click Edit Contents to add the content files.
    In the Edit Contents dialog box, navigate to <INSTALL>/j2eetutorial14/examples/web/hello1/build/. Select duke.waving.gif, index.jsp, and response.jsp and click Add. Click OK.
    Click Next.
    Select the No Component radio button and click Next.
    Click Finish.
    Select FileSave.
    A sample hello1.war is provided in <INSTALL>/j2eetutorial14/examples/web/provided-wars/. To open this WAR with deploytool, follow these steps:
    Select FileOpen.
    Navigate to the provided-wars directory.
    Select the WAR.
    Click Open Module.
    I guess this step is for checking my system about setup information. I not sure how to change it.
    the result from execution of ansnt command in dos
    D:\J2ee\j2ee-1_4-doc-tutorial_7\j2eetutorial14\examples\web\hello1>asant create- war Buildfile: build.xml
    j2ee-home-test:
    BUILD FAILED D:\J2ee\j2ee-1_4-doc-tutorial_7\j2eetutorial14\examples\common\targets.xml:10: T he j2ee.home property is not properly set in <INSTALL>/j2eetutorial14/examples/c ommon/build.properties.
    Set the j2ee.home property to the location of your Application Server installati on.
    On Windows, you must escape any backslashes in the j2ee.home property with anoth er backslash or use forward slashes as a path separator. So, if your Application Server installation is C:\Sun\AppServer, you must set j2ee.home as follows:
    j2ee.home = C:\\Sun\\AppServer
    or
    j2ee.home=C:/Sun/AppServer
    j2ee.home is currently set to:
    Total time: 0 seconds
    D:\J2ee\j2ee-1_4-doc-tutorial_7\j2eetutorial14\examples\web\hello1>
    I've installed J2ee sdk in C:\Sun\AppServer
    PATH: %J2EE_HOME%\bin;%JAVA_HOME%\bin;
    CLASSPATH: %J2EE_HOME%\lib\j2ee.jar;C:\Java\jre1.6.0_05\lib\ext\QTJava.zip;C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar
    J2EE_HOME: C:\Sun\AppServer
    JAVA_HOME: C:\Sun\AppServer\jdk
    I've installed J2ee with administration 4848, HTTP: 8089 HTTP: 8090
    I guess this could refer the target.xml and build.properties. So, I've tried after changing some value, which is fit for my setup.
    but, still doesn't work.
    targets.xml
    <path id="classpath">
    <fileset dir="${j2ee.home}/lib">
    <include name="j2ee.jar"/>
    </fileset>
    </path>
    <target name="j2ee-home-test" >
    <!-- Test if j2ee.home is set properly by looking for j2ee.jar -->
    <available file="${j2ee.home}/lib/j2ee.jar" type="file" property="j2ee.jar.present" />
    <fail unless="j2ee.jar.present">
    The j2ee.home property is not properly set in <INSTALL>/j2eetutorial14/examples/common/build.properties.
    Set the j2ee.home property to the location of your Application Server installation.
    On Windows, you must escape any backslashes in the j2ee.home property with another backslash or use forward slashes as a path separator. So, if your Application Server installation is C:\Sun\AppServer, you must set j2ee.home as follows:
    j2ee.home = C:\\Sun\\AppServer
    or
    j2ee.home=C:/Sun/AppServer
    j2ee.home is currently set to: ${j2ee.home}
    </fail>
    </target>
    <target name="clean" >
    <delete dir="${build}" />
    <delete dir="${dist}" />
    <delete dir="${assemble}" />
    <delete file="${ear.name}" />
    <delete file="${war.name}" />
    <delete file="${war.file}" />
    <delete file="${client.jar.name}" />
    </target>
    <path id="db.classpath">
    <fileset dir="${db.root}/lib">
    <include name="*.jar"/>
    </fileset>
    </path>
    <target name="create-db_common"
    depends="init,start-db,delete-db"
    description="Create database tables and populate database." >
    <sql driver="${db.driver}"
    url="${db.url}"
    userid="${db.user}"
    password="${db.password}"
    classpathref="db.classpath"
    delimiter="${db.delimiter}"
    autocommit="false"
    onerror="abort" >
    <transaction src="${sql.script}"/>
    </sql>
    </target>
    <target name="delete-db"
    description="Deletes the database tables." >
    <sql driver="${db.driver}"
    url="${db.url}"
    userid="${db.user}"
    password="${db.password}"
    classpathref="db.classpath"
    delimiter="${db.delimiter}"
    autocommit="false"
    onerror="continue" >
    <transaction src="${delete.sql.script}"/>
    </sql>
    </target>
    <target name="ping-db"
    description="Checks to see if Derby is running." >
    <java classname="org.apache.derby.drda.NetworkServerControl"
    fork="yes"
    resultproperty="db.ping.result">
    <jvmarg line="${db.jvmargs}" />
    <arg line="ping" />
    <classpath refid="db.classpath" />
    </java>
    <condition property="db.running">
    <equals arg1="${db.ping.result}" arg2="0" />
    </condition>
    </target>
    <target name="start-db"
    unless="db.running"
    description="Starts the Derby databse server."
    depends="ping-db">
    <sun-appserv-admin
    explicitcommand="start-database" />
    </target>
    <target name="stop-db"
    description="Stops the Derby database server."
    depends="ping-db"
    if="db.running">
    <sun-appserv-admin
    explicitcommand="stop-database" />
    </target>
    <target name="admin_command_common">
    <echo message="Doing admin task ${admin.command}"/>
    <sun-appserv-admin
    command="${admin.command}"
    user="${admin.user}"
    passwordfile="${admin.password.file}"
    host="${admin.host}"
    port="${admin.port}"
    asinstalldir="${j2ee.home}" />
    </target>
    <target name="create-jdbc-resource_common">
    <antcall target="admin_command_common">
    <param name="admin.command"
    value="create-jdbc-resource
    --connectionpoolid ${conpool.name} ${jdbc.resource.name}" />
    </antcall>
    </target>
    <target name="delete-jdbc-resource_common">
    <antcall target="admin_command_common">
    <param name="admin.command"
    value="delete-jdbc-resource ${jdbc.resource.name}" />
    </antcall>
    </target>
    <target name="deploy-war">
    <antcall target="admin_command_common">
    <param name="admin.command"
    value="deploy ${war.file}" />
    </antcall>
    </target>
    <target name="undeploy-war">
    <antcall target="admin_command_common">
    <param name="admin.command"
    value="undeploy ${example}" />
    </antcall>
    </target>
    <property environment="env" />
    <target name="listprops"
    description="Displays values of some of the properties of this build file">
    <property file="../../common/admin-password.txt" />
    <echo message="Path information" />
    <echo message="j2ee.home = ${j2ee.home}" />
    <echo message="j2ee.tutorial.home = ${j2ee.tutorial.home}" />
    <echo message="env.Path = ${env.Path}" />
    <echo message="env.PATH = ${env.PATH}" />
    <echo message="" />
    <echo message="Classpath information" />
    <echo message="classpath = ${env.CLASSPATH}" />
    <echo message="" />
    <echo message="Admin information" />
    <echo message="admin.password = ${AS_ADMIN_PASSWORD}" />
    <echo message="admin.password.file = ${admin.password.file}" />
    <echo message="admin.host = ${admin.host}" />
    <echo message="admin.user = ${admin.user}" />
    <echo message="admin.port = ${admin.port}" />
    <echo message="https.port = ${https.port}" />
    <echo message="" />
    <echo message="Domain information" />
    <echo message="domain.resources = ${domain.resources}" />
    <echo message="domain.resources.port = ${domain.resources.port}" />
    <echo message="" />
    <echo message="Database information" />
    <echo message="db.root = ${db.root}" />
    <echo message="db.driver = ${db.driver}" />
    <echo message="db.host = ${db.host}" />
    <echo message="db.port = ${db.port}" />
    <echo message="db.sid = ${db.sid}" />
    <echo message="db.url = ${db.url}" />
    <echo message="db.user = ${db.user}" />
    <echo message="db.pwd = ${db.pwd}" />
    <echo message="url.prop = ${url.prop}" />
    <echo message="ds.class = ${ds.class}" />
    <echo message="db.jvmargs = ${db.jvmargs}" />
    </target>
    build.properties ����
    j2ee.home=
    j2ee.tutorial.home=
    asinstall.dir=${j2ee.home}
    admin.password.file=${j2ee.tutorial.home}/examples/common/admin-password.txt
    admin.host=localhost
    admin.user=admin
    admin.port=4848
    https.port=8181
    domain.resources="domain.resources"
    domain.resources.port=8080
    # Derby configuration settings
    db.delimiter=;
    db.root=${j2ee.home}/derby
    db.driver=org.apache.derby.jdbc.ClientDriver
    db.datasource=org.apache.derby.jdbc.ClientDataSource
    db.host=localhost
    db.port=1527
    db.sid=sun-appserv-samples
    db.url=jdbc:derby://${db.host}:${db.port}/${db.sid};create=true;
    db.user=APP
    db.pwd=APP
    db.jvmargs=-ms16m -mx32m
    Is there anyone who can tell me how to change it? I really need your help....
    Thank you in advance.

    ok,
    First of all make sure your tutorial folder is installed from the root:
    C:\javaeetutorial5
    or
    D:\javaeetutorial5
    it makes things so simple.
    Secondly:
    set your jee tutorial home
    JAVAEE.TUTORIAL.HOME =
    C:/javaeetutorial5
    Thirdly: check in:
    C:\javaeetutorial5\examples\bp-project
    make a copy of the build.properties.sample save it as build.propropties, as a property file,
    edit the properties file as in:
    build.properties
    As follows:
    # uncomment the property javaee.home, and add the path
    # to your GlassFish Java EE 5 SDK installation
    javaee.home=c:/Sun/SDK
    javaee.tutorial.home=c:/javaeetutorial5
    # Uncomment the property j2ee.server.username,
    # and replace the administrator username of the app-server
    javaee.server.username=admin
    # Uncomment the property j2ee.server.passwordfile,
    # and replace the following line to point to a file that
    # contains the admin password for your app-server.
    # The file should contain the password in the following line:
    AS_ADMIN_PASSWORD=admin1234and so fourth. Some of the settings as the application server name is all done for you
    and then test it again.
    Take care of editing the property file. It can give you headache.
    Note also that this is for application server 9.1 - JEE5.
    eve

  • Same filename from a sender to receiver :: DO we really need UDF ?

    Hi
    This is in refrence of Weblog " <i>same filename from a sender to a receiver file adapter "</i> by <i>Michal Krawczyk</i>.
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Actually I worked on another weblog by " <i>Shabarish Vijayakumar</i> "-->
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
    And I am getting file created on the receiver side with the same file name as on the sender side without using the user-defined function mentioned in Michal's weblog.
    Now my question do we really need UDF for same file name when on the sender we are polling for one file only by its name.
    I am not exaclty getting the benefit of this feature. Can you tell me why do we need this feature as in whatever scenarios I worked I mentioned the file names in both Sender & Receiver File Adapters.
    So I am not getting what is the use of using this UDF, when we mention the name of file needs to be created on Receiver side.
    - Lalit Chaudhary -

    Hi
    I put this code for UDF -->
    <i>String valueNew;
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String valueOld = conf.get(key);
    if (valueOld != null)
        valueNew = valueOld.replaceAll("input123",name);
        conf.put(key, valueNew);
    return valueNew;</i>
    Signature of UDF is this :: <u>public String GetFileName(String name,Container container)</u>
    But when I am testing this UDF, I am getting following RunTime exception -->
    <i>Runtime exception during processing target field mapping /ns0:FileFTP_InOut_MT/File_nm. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._FileFTP_MsgMapping_UDF_ method GetFileName$[lalit, com.sap.aii.mappingtool.tf3.rt.Context@735df3b0] com.sap.aii.mappingtool.tf3.MessageMappingException: Runtime exception during processing target field mapping /ns0:FileFTP_InOut_MT/File_nm. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._FileFTP_MsgMapping_UDF_ method GetFileName$[lalit, com.sap.aii.mappingtool.tf3.rt.Context@735df3b0]</i>
    I am not much of Java Guy, can you pls. suggest what am I doing wrong, I copied this code from <a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm">SAP Help</a>
    - Lalit -

Maybe you are looking for

  • How do I handle Style Groups in InDesign Scripting?

    Hi, I am relatively new to InDesign scripting. I'm trying to map Paragraph Styles to CSS, and it seemed to be working fine, till I came across Style Groups - Styles belonging to a group are identified as - Root Style Group name : Child style group na

  • Rgb monitor on gf4ti4200-vtd64

    I am trying to use a non (ddc) plug and play 19" RGB coax monitor as my second vga display on my gf4ti4200-vtd64. It works with my other pci and agp cards  but the ti4200 card doesn't detect it and there is no way to get win xp to install a display d

  • Message mapping - Duplicate subtree

    Hi Experts, I am working on 7.0 server. In the existing message mapping I found that target nodes are duplicated. For example /ns0:FiletoFile_ib_mt/Record/Emp[1] /ns0:FiletoFile_ib_mt/Record/Emp And the order for the node in the target message struct

  • Header conditions calculated on item level.

    Hello, We are on SRM 4.0 (server 500). I have created a header pricing condition as a copy of 01RH for a surcharge. I created a contract with the condidition that a surcharge of ZAR 65 to be added for all orders below ZAR 1000. When I create a shoppi

  • Usb pci1033,e0 Enhanced Host Controller G5 PowerPC 1.8GHz

    Hi every one need help to sort this silly problem out We have a PowerPC G5 1.8 duel fitted with 8GB ram - everything works great until I ftted this USB PCI card We have just fitted a PCI card into it: usb pci1033,e0 Enhanced Host Controller (into slo