Some packages really need documentation to be usable?

I have installed arch64 on my laptop yesterday and I have found that I like it really much. Anyway, I realized that I will have to do some work to download all the docs I need to use my computer as I usually use it (I usually play with -dev packages, like gtk(mm) and wxwidgets, and with math programs, like maxima). I will also have to download docs on how to configure my nvidia card to use twinview, even if I actually have no plan to use it. So, because I like arch and I want to give some ideas back, why not do a poll to see how many users are satisfied by arch's current policy (basically, rm -rf /usr/share/doc) and how many would like something different? Something different would be -doc packages for packages with huge documentation (for example gtk) and integrated READMEs for package with little documentation (for example the NVIDIA driver docs). Well.. lets see what people think about that..

average_joe2 wrote:An example is programming
This is a bad example, IMHO, since as phrakture said, you get more up-to-date API documentation online. I would never dream of using offline-documentation when I'm coding, I always keep a web-browser open to the page containing stuff I need. Well I used to when I didn't know it all by heart anyway. It must be time to learn something new.
another example is using a non-trivial app, like maxima.
or online: http://maxima.sourceforge.net/docs/manu … ima_1.html
I haven't used this one, never heard of it. When I was playing with Blender (perhaps the most non-trivial app!!), I recall downloading one tutorial, but again, I mostly read everything online. I just bookmarked it. My web browser is never closed that way.
"info" format, like grub.
or online: http://www.gnu.org/software/grub/manual/grub.html
Your point about this being package-dependent is valid, but I'd  say that it will be hard to find a package in this day and age that doesn't post its docs online. And if it doesn't, I say that package is broken.
When I was on dialup, I loved the fact Arch didn't install docs for me, cause it saved on my downloading. The one document I couldn't live without back then was the Java 1.5 API... and it was a pain to get online. In that case, I did download the whole thing and store it offline, but for everything else, google gave me the docs I needed. Now that I have a super-fast always on connection, google gives me the docs I need completely painlessly. I've personally never missed offline documentation, and I appreciate my hard drive being clear.
That being said, there's nothing stopping a group of people from creating some documentation packages and either putting PKGBUILDs in AUR or creating their own repository. I just have to say it is in direct conflict with Arch's philosophy to include docs with the packaging. It was a fundamental part of Judd's initial design decision with the 0.1 release and before.
Dusty

Similar Messages

  • Some help really  needed

    Hello,
    yesterday i had some problems with the usage of eclipse during my session with card. So i had to end the program through the task manager, because it seemed that it will never awake and continue the performance.
    Now during the work with my JCOP card through the JCOP shell, i have problems when i am trying to delete it . I mean card doesn't allow me to separately delete an Applet and my package then. Day before it worked fine. In the simulator it still works fine.
    It always return 6985 (Conditions not satisfied statement). Despite this fact, my Lodare.java module works fine. Call to the CardManager deleteObject() methos returns no errors. So it can delete only package by deleting related applets at once.
    Could you help, what could be solution or the basis for such problem occurrence?
    Best regards,
    Eve

    here is my APDU trace:
    -  /terminal "winscard:4|SCM Microsystems Inc. SCR3310 USB Smart Card Reader 0"
    --Opening terminal
    /card -a a000000003000000 -c com.ibm.jc.CardManagerresetCard with timeout: 0 (ms)
    --Waiting for card...
    ATR=3B EB 00 00 81 31 20 45 4A 43 4F 50 33 31 33 36    ;....1 EJCOP3136
        47 44 54 78                                        GDTx
    ATR: T=1, N=0, IFSC=32, BWI=4/CWI=5, Hist="JCOP3136GDT"
    => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00          ..............
    (146500 usec)
    <= 6F 10 84 08 A0 00 00 00 03 00 00 00 A5 04 9F 65    o..............e
        01 FF 90 00                                        ....
    Status: No Error
    cm>  set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
    cm>  init-update 255
    => 80 50 00 00 08 D4 AC DC F1 CA 9F 16 B9 00          .P............
    (158288 usec)
    <= 00 00 63 06 00 12 86 91 06 77 FF 01 42 16 4D 12    ..c......w..B.M.
        17 14 03 A1 1E 81 CF 9D A8 32 FA 34 90 00          .........2.4..
    Status: No Error
    cm>  ext-auth plain
    => 84 82 00 00 10 72 2C BF 47 F6 1C 73 AB 8A A5 B3    .....r,.G..s....
        AB 24 7D BF F7                                     .$}..
    (84620 usec)
    <= 90 00                                              ..
    Status: No Error
    cm>  card-info
    => 80 F2 80 00 02 4F 00 00                            .....O..
    (40529 usec)
    <= 08 A0 00 00 00 03 00 00 00 01 9E 90 00             .............
    Status: No Error
    => 80 F2 40 00 02 4F 00 00                            [email protected]..
    (45895 usec)
    <= 0C 4D 4D 61 74 63 68 65 72 41 70 70 6C 07 00 90    .MAppl...
        00                                                 .
    Status: No Error
    => 80 F2 10 00 02 4F 00 00                            .....O..
    (154165 usec)
    <= 07 A0 00 00 00 03 53 50 01 00 01 08 A0 00 00 00    ......SP........
        03 53 50 41 05 31 50 41 59 2E 01 00 01 0E 31 50    .SPA.1PAY.....1P
        41 59 2E 53 59 53 2E 44 44 46 30 31 06 A0 00 00    AY.SYS.DDF01....
        00 03 10 01 00 01 07 A0 00 00 00 03 10 10 06 A0    ................
        00 00 02 41 00 01 00 01 07 A0 00 00 02 41 00 00    ...A.........A..
        08 4D 4D 61 74 63 68 65 72 01 00 01 0C 4D 4D 61    .M....M
        74 63 68 65 72 41 70 70 6C 90 00                               Appl..
    Status: No Error
    Card Manager AID   :  A000000003000000
    Card Manager state :  OP_READY
        Application:  SELECTABLE (--------) "MAppl" 
        Load File  :      LOADED (--------) A0000000035350   (Security Domain)
         Module    :                        A000000003535041
        Load File  :      LOADED (--------) "1PAY."          (PSE)
         Module    :                        "1PAY.SYS.DDF01"
        Load File  :      LOADED (--------) A00000000310     (VSDC)
         Module    :                        A0000000031010
        Load File  :      LOADED (--------) A00000024100   
         Module    :                        A0000002410000
        Load File  :      LOADED (--------) "M"     
         Module    :                        "MAppl"
    cm>  /identify
    => 00 A4 04 00 09 A0 00 00 01 67 41 30 00 FF          .........gA0..
    (74848 usec)
    <= 51 04 01 24 47 45 42 34 50 48 35 32 32 44 01 03    Q..$GEB4PH522D..
        79 09 22 6A 82                                     y."j.
    Status: File not found
    FABKEY ID:   0x51
    PATCH ID:    0x04
    TARGET ID:   0x01 (smartmx)
    MASK ID:     0x24 (36)
    CUSTOM MASK: 47454234
    MASK NAME:   PH522D
    FUSE STATE:  fused
    ROM INFO:    790922
    COMBO NAME:  smartmx-m24.51.04.47454234-PH522D
    cm>  get-cplc
    => 80 CA 9F 7F 00                                     .....
    (74629 usec)
    <= 9F 7F 2A 47 90 50 15 40 51 51 58 24 00 63 06 00    ..*G.P.@QQX$.c..
        12 86 91 06 77 48 10 63 13 00 00 00 00 02 10 1C    ....wH.c........
        30 31 32 38 36 00 00 00 00 00 00 00 00 90 00       01286..........
    Status: No Error
      IC Fabricator                      : 4790
      IC Type                            : 5015
      Operating System ID                : 4051
      Operating System release date      : 5158 (7.6.2005)
      Operating System release level     : 2400
      IC Fabrication Date                : 6306 (2.11.2006)
      IC Serial Number                   : 00128691
      IC Batch Identifier                : 0677
      IC Module Fabricator               : 4810
      IC Module Packaging Date           : 6313 (9.11.2006)
      ICC Manufacturer                   : 0000
      IC Embedding Date                  : 0000
      IC Pre-Personalizer                : 0210
      IC Pre-Perso. Equipment Date       : 1C30
      IC Pre-Perso. Equipment ID         : 31323836
      IC Personalizer                    : 0000
      IC Personalization Date            : 0000
      IC Perso. Equipment ID             : 00000000
    cm>  delete |MAppl
    => 80 E4 00 00 0E 4F 0C 4D 4D 61 74 63 68 65 72 41    .....O.MAppl.
        70 70 6C 00                                      
    (207258 usec)
    <= 69 85                                              i.
    Status: Conditions of use not satisfied
    jcshell: Error code: 6985 (Conditions of use not satisfied)
    jcshell: Wrong response APDU: 6985
    cm>  delete |M
    => 80 E4 00 00 0A 4F 08 4D 4D 61 74 63 68 65 72 00    .....O.M.
    (56412 usec)
    <= 69 85                                              i.
    Status: Conditions of use not satisfied
    jcshell: Error code: 6985 (Conditions of use not satisfied)
    jcshell: Wrong response APDU: 6985Applet directory is:
    c:\Documents and Settings\Ieva\workspace\M\bin\M\javacard\MAppl.cap
    Best regards,
    Eve
    Message was edited by:
    Ieva

  • [SOLVED] HPLIP and foomatic really needed for CUPS?

    Hi there,
    Wanting my HP Laserjet 5M printer to get up and running, at first glance it appears that i have to use the HPLIP package to get it to work with CUPS. When trying to install the HPLIP package pacman states that it also needs foomatic-db. Total installed size would be about 87Mb. Is it really necessary to install HPLIP and foomatic to get my Laserjet going under CUPS? I rather would install only the driver I really need, instead of a 'one for all' package. Or is the biggest part of the HPLIP and foomatic package really needed by the system?
    Regards,
    Frank
    Last edited by senaxo (2010-05-20 11:03:14)

    Ok, it appears that I only needed two things:
    1. The appropriate PPD file for the printer
    2. The package 'foomatic-rip' to be installed
    I've downloaded the PPD for my laserjet printer from http://www.openprinting.org/printer/HP/HP-LaserJet_5M and after adding the printer via the CUPS webinterface using that PPD file of the printer (and after installing 'foomatic-rip') the printer seems to work perfectly.
    Quite a difference to installing the whole 'hplip' and 'foomatic-db' packages and all their dependencies.
    Frank

  • My ipad mini does not restart when i press and hold the home and power buttons for a minute or more. what do i do? i really need to access some information on it. please help.

    my ipad mini does not restart when i press and hold the home and power buttons for a minute or more. what do i do? i really need to access some information on it. please help.

    You need to connect to iTunes and restore.
    iOS: Not responding or does not turn on
    You may need to put the device into recovery mode, this is covered in the link on this page.
    Did you back up the device?

  • 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 guess the problem come from me or I really need those contacts before he calls me for it. I'll try some method that I got from some responders on your support website. Do you have or can you recommand any software that can solve this problem?

    I guess the problem come from me but I really need those contacts before he calls me for it. I'll try some method that I got from some responders on your support website. Do you have or can you recommand any software that can solve this problem?
    One more thing. I just update my iphone that my boss gave to me but it seems to be like it giving me some trouble. My iphone was updated not too long and was successful. I try to lock into it and it telling me emergency call. I plug it to my itune and it telling me that the sim card is not valid or supported. So I inserted my sim card that I usually use to call and it still saying the same. Please help me get into it.

    And as far as paying for phone support, here are a few tips:
    If you call your carrier first and then they route you to Apple, you usually don't have to pay for phone support.
    If you are talking to Apple and they ask you to pay a support fee, ask if you can get an exception this time.  That usually works once, but they keep track of the times you've been granted such an exception.
    If you still end up paying the support fee, that fee only applies if it's not a hardware related issue.  In other words, if it can be fixed by just talking over the phone and following Apple's instructions, then the fee applies.  But if your device is deemed to have a hardware failure that caused the issue, then the fee should not apply, and you can ask for it to be waived after the fact.
    This forum is free, and almost all of the technical support articles the Apple tech advisors use are available on this website.  Literally 99% of what they can do over the phone is just walking you through the publicly available support articles.  In other words, you're paying the fee to have them do your research for you.  It's like hiring a research consultant to go look stuff up in the public library so you don't have to.  You're capable of doing it; you'd just rather pay someone to do it for you.
    It's like Starbucks.  You know how to make coffee.  Everyone knows how to make coffee.  And Starbucks coffee isn't any better than what you could make at home for far less.  But you want the convenience.  So you're really paying a convenience fee.  Milk is more expensive at 7-Eleven than it is at the grocery store... because it's a convenience store.

  • Hi everyone I have a macbook pro mid 2010 17'' 2.66 i7 looking to put a new hard drive in it something like a 250 gb  ,  orig drive 500 gb 5400 toshiba but i don;t really need that much space so i would like some input, type,speed,brand,compatibly,noise

    I have a macbook pro mid 2010 17'' 2.66 i7 looking to put a new hard drive in it something like a 250 gb  ,  orig drive 500 gb 5400 toshiba but i don;t really need that much space so i would like some input, type,speed,brand,compatibly,noise Thank You!!

    There's no reason to install a smaller hard drive. In some cases, it may decrease performance.
    Your MacBook Pro comes with a 5400 rpm hard drive, so what you can do is to install a smaller, 7200 rpm hard drive, so you will get a better performance. Any 2'5" SATA hard drive will work, but you can have a look at OWC for hard drives > http://eshop.macsales.com/shop/hard-drives/2.5-Notebook/
    HGST and Seagate hard drives have a good reputation, so you can purchase one of them

  • I lost my iphone some time ago. is there any way to recover my lost iphone? I really need help.thanks, I lost my iphone some time ago. is there any way to recover my lost iphone? I really need help.thanks

    i lost my iphone some time ago, is there any way to recover my lost iphone?i really need help..thanks before

    Don't know what you mean by "some time ago", but unless you activated Find My Phone and the phone is still on, the answer is no. (Even if you ask 3 times).

  • PLEASE HELP ME.  Some important emails have gone to an archive mail box and i really need them.  Can someone please help me with how to view the archive email box and the emails that are in there?

    PLEASE HELP ME.  Some important emails have gone to an archive mail box and i really need them.  Can someone please help me with how to view the archive email box and the emails that are in there?

    http://kb.mozillazine.org/Recovering_deleted_mail_accounts

  • Heey guys whats up listen i have a problem i lost my iphone and it has all my pic's and some information that i really really need it what should i do .... is there any way that i can get back the i phone ??? please help me

    heey guys whats up listen i have a problem i lost my iphone and it has all my pic's and some information that i really really need it what should i do .... is there any way that i can get back the i phone ??? please help me

    You can look for it.
    If you find it, you will have it back.
    If you had find my iphone activated on the iphone BEFORE it was lost, then you may be able to track it.

  • Hi.i really need to know why some iphone 5 lose wi-fi or bluetooth comminucations after a while?!? i just charged it with my iphone 4's adapter,it can be the reason?!?!?!?!

    Hi.i really need to know why some iphone 5s lose wi-fi or bluetooth comminucations after a while?!? i just charged it with my iphone 4's adapter,it can be the reason?!?!?!?! i dont think so....

    It would help to have more details about when your phone loses wi-fi or bluetooth. 
    When an iPhone locks itself it turns Wi-fi off.  I haven't had any problems with bluetooth turning off.
    You might try restarting the phone. Double tap the home button to open the multitasking drawer, tap and hold on any icon in the drawer until the icons start to jiggle, tap the X that appears on the upper corner of each icon to shut them all down.  Press the Home button to close the drawer.  Then hold the sleep/wake button down and wait for the Slide to Power Off slider appears.  Slide it and wait for the phone to shut down.  Wait a few seconds and then press and hold the  sleep/wake button again until the Apple logo appears and the phone restarts.
    You can also reset your network settings, go to Settings => General => Reset Network Settings.  You will have to reconnect and enter passwords for any wi-fi networks that you normally connect to after you do this.
    Let us know if this doesn't help.

  • Wifi Syncing really needs a fix. Or at the very least some manual parameters.

    After installing IOS5 , itunes 10.5 and making sure eveything works i've come across a snag like many others.
    Wi-fi syncing simply doesn't work for me.
    I have the option in summary , it is clicked and enabled.
    I've followed the trouble shooting guide here : http://support.apple.com/kb/TS4062 a few times over.
    Still my phone claims not to see the computer itunes is installed on.
    On my phone , in settings - general - iTunes Wi-Fi Sync the button is greyed out and under it it says "Sync will resume when "HOUSE-03-PC-05" is available".
    It is available LOL , ios stop lying to me.
    I have installed a few ping apps , where pinging to the ip of said computer works fine from my phone.
    I have disabled my windows firewall to be sure nothing is being blocked by it.
    I checked if bonjour still works with other apps that need it. And they work.
    Airvideo for example can connect to the computer that has my itunes installed just fine.
    I installed "ip scanner" , it seems to discover the netbios name of the "HOUSE-03-PC-05" computer just fine.
    The wireless access point I use is a D-link 2100AP, it doesn't block nor firewall anything. . Everything else wifi related I do works fine.
    Itunes is running , my power  cable is plugged in , and i'm not sitting at the wrong side of the desk while looking at the back of my screen.
    I have even started a few tcp server programs of my own making on various ports on the pc itunes is installed on and connected to those ports using issh in telnet mode , and it works just as it's suposed to.
    Something really needs fixing when it comes to the phone finding the computer that it uses for syincing.
    Maybe the option to indicate the IP to try and connect to would fix it ? is it a resolve issue?
    I was thinking the problem could be from uisng hyphens in my netbios names , but i really would doubt that .
    Any more ideas on what more I could test for would be apreciated .
    Kind Regards
    Phoenixxl.

    I had exactly the same problem and couldn't find the answer anywhere. However after playing a bit I found out that my computer name (i.e. Right click on "Computer" and select properties) contained a hypen. I renamed the computer to delete the hypen, restarted and now it syncs wirelessly like a charm!
    Obviously something that apple overlooked which will probably right itself in the next release but should get you up and running fingers crossed!

  • Need somne information about some packages.

    Hi I am trying to understand a script where some packages are used.
    dbms_sql.open_cursor
    dbms_sql.parse
    dbms_sql.define_column
    Can someone explain me what theses packages do?
    FOR cur_source_rec IN cur_source LOOP
    lv_version_cursor_num := DBMS_SQL.OPEN_CURSOR;
    lv_dml_statement_txt := 'SELECT ' || cur_source_rec.name ||
    '.what_version FROM DUAL';
    BMS_SQL.PARSE(lv_version_cursor_num, lv_dml_statement_txt,
    DBMS_SQL.NATIVE);
    DBMS_SQL.DEFINE_COLUMN(lv_version_cursor_num, 1,
    lv_package_version_txt, 100);
    Well I d like to know what theses special functions do.
    Where can I find a complete definition of these packages?

    The documenation is always a good place to start.
    Cheers, APC

  • I really need some serious help with Encore import

    Ok I will start off by saying  Iam a complete and total newbie to this field.  I have produced a few small projects in premier and encore but nothing advanced until now.
    Here is what I have done
    I am using CS04 Suite
    I have built a Premier Project using AVCHD footage that is 2.5 hours long (roughly)
    I exported the final project using AME to H.264 so that I could import it into Encore
    The files is 16 GB in size
    I am trying to import the file as an asset into encore to build the menus,  I need to create 2 images in encore, one DVD image and 1 Blueray Image.  I am trying to do the DVD image at this time.  Encore allows the import, shows the video in the asset list but my hard drive has been running like a fool for 3 hours now,  I cant seem to drag it to the timeline, if I right click  I cant even access the Transcode setting of the file, my system is very sluggish.  It almost seems like it is pre-transcoding but I see no progress bars anywhere.
    Is Encore simply still importing the file?
    Am I doing this correctly?
    Should I break up the video into smaller files? Will I need to create multiple Premier Projectes to do so?
    If I wait long enough will it be ok?
    I have 6 days to finish this project... I really need your help !!!

    An external ESATA would do just fine.
    Keep all of your media on the external drive.  Only use the internal drive for Windows and your applications.
    Your quad-core and 4 GB of RAM is OK.  Not great (I'd get 2 GB of RAM per core), but OK.
    -Jeff

  • 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

Maybe you are looking for

  • How to config Check Digits function module for Student Number Validation

    Hi SLCM Experts, In the SAP-SLCM, How to use check digits function module for validate student number.  Just only config it or need to customizing program. *Any idea to student number validation in SLCM?* Best Regards, Suvatchai K.

  • I can no longer access my vista print website. Has anyone else had this problem?

    When I try to access Vista Print's website I get this message: Firefox can't establish a connection to the server at www.vistaprint.com This is something that has happened in the last six months or so. I do not know what to do to regain my access to

  • File size and resolution.

    Hello, I have been attempting to create PDF files using Acrobat (both 9.5.5 and 10.1.9) but have run into some questions for which I haven't found clear answers. I started with pages scanned at 300 dpi and saved as TIFF files. Following that I have t

  • Please tell me about the lid/screen "latch"

    So the MacBook Air has magnets to help hold it closed? The magnets are on the two corners or all along the edge or in place of the old style middle latch? Sorry to be ignorant. I am not close to a mac store and have never seen an Air other than pictu

  • IPhone 3G and Original iPhone docking cradles

    The new 3G does not come with a cradle. Using the OLD cradles works......but you really have to FORCE the 3G into the old dock cradle. Does anyone know if that's OK or if I'm asking for a problem by using the old cradles and making it fit?.