POI, Ant, Forrest installation

Hi all,
i'm not sure if this is the right forum to post in, but i really need help from people who have experience using the POI HSSF. I am currently working on a project that needs me to extract data from Excel files into XML files.
i have already downloaded the POI, ANT and Forrest zip files... but i am not sure how to install them properly. The installation notes that are given does not include alot of details which i am not sure on how to do.
1.) how to set a ANT/HOME dir. etc.
2.) where to unpack the zip files to.
if anyone can post detailed procedures on how i can get this running would be great.
regards.

Example on how to build POI on Windows XP Pro
Requirements:
JDK 1.4 or 5.0 already installed.
Mine is located in folder:
C:\programs\jdk1.5
Step -1-
Download the latest source distribution of POI:
http://gulus.usherbrooke.ca/pub/appl/apache/jakarta/poi/dev/src/poi-src-3.0-alpha1-20050704.zip
Download the latest binary distribution of ANT:
http://gulus.usherbrooke.ca/pub/appl/apache/ant/binaries/apache-ant-1.6.5-bin.zip
Download the latest binary distribution of Forrest:
http://gulus.usherbrooke.ca/pub/appl/apache/forrest/apache-forrest-0.7.zip
Step -2-
Extract the POI zip file in folder:
c:\projects\java\poi
Extract the ANT zip file in folder:
c:\programs\apache-ant-1.6.5
Extract the Forrest zip file in folder:
c:\programs\apache-forrest-0.7
Step -3-
In POI root folder (c:\projects\java\poi), create the batch file
    build.bat:
    @echo off
    setlocal
    set JAVA_HOME=C:\programs\jdk1.5
    set ANT_HOME=c:\programs\apache-ant-1.6.5
    set FORREST_HOME=c:\programs\apache-forrest-0.7
    set PATH=%ANT_HOME%\bin;%JAVA_HOME%\bin;%PATH%
    call ant.bat -buildfile build.xml %*
    endlocal
    ------------------------------------------------------------Step -4-
From a command prompt, execute the following:
    c:
    cd \projects\java\poi
    call build.bat compile

Similar Messages

  • Installing ANT 1.5.3 --Better than the previous post

    Hello all,
    I am a RIT student on my first internship an I'm in over my head. (At least that the way I'm told all first internships feel) Anyway, I am trying to install Apache's POI jar files into my JVM, so that I can easily read and write Excel files. The POI installation says that I need to install two components; ANT as well as FORREST. Below I have pasted some lines from the ANT 1.5.3 installation documentation, of which I have tagged with a few questions. The bold type followed by a Q# shows where I am getting caught up.
    <Install Document>
    Installing Ant
    The binary distribution of Ant consists of the following directory layout:
    ant
    +--- bin  // contains launcher scripts
    |
    +--- lib  // contains Ant jars plus necessary dependencies
    |
    +--- docs // contains documentation
    | +--- ant2    // a brief description of ant2 requirements
    | |
    | +--- images  // various logos for html documentation
    | |
    | +--- manual  // Ant documentation (a must read ;-)
    |
    +--- etc // contains xsl goodies to:
    // - create an enhanced report from xml output of various tasks.
    // - migrate your build files and get rid of 'deprecated' warning
    // - ... and more ;-)
    Only the bin and lib directories are required to run Ant. To install Ant, choose a directory and copy the distribution file there. [Q1] This directory will be known as ANT_HOME.
    Windows 95, Windows 98 & Windows ME Note:
    On these systems, the script used to launch Ant will have problems if ANT_HOME is a long filename (i.e. a filename which is not of the format known as "8.3"). This is due to limitations in the OS's handling of the "for" batch-file statement. It is recommended, therefore, that Ant be installed in a short, 8.3 path, such as C:\Ant.
    On these systems you will also need to configure more environment space to cater for the environment variables used in the Ant lauch script. To do this, you will need to add or update the following line in the config.sys file
    shell=c:\command.com c:\ /p /e:32768 I can do this one ;-)
    Setup
    Before you can run ant there is some additional set up you will need to do:
    Add the bin directory to your path. [Q2]
    Set the ANT_HOME environment variable[Q3] to the directory where you installed Ant. On some operating systems the ant wrapper scripts can guess ANT_HOME (Unix dialects and Windows NT/2000) - but it is better to not rely on this behavior.
    Optionally, set the JAVA_HOME environment variable (see the Advanced section below). This should be set to the directory where your JDK is installed.
    Note: Do not install Ant's ant.jar file into the lib/ext directory of the JDK/JRE. Ant is an application, whilst the extension directory is intended for JDK extensions. In particular there are security restrictions on the classes which may be loaded by an extension.
    </Install Document>
    Questions
    Q1: What is this distrobution File? -- If the directory contents are needed to answer this one, then just perhaps a brief description of what to look for (file extentions or name or somthing) would suffice.
    Q2: Add the bin directory to your path. Ok so how would I do this?
    Q3: Set the ANT_HOME environment variable... How can I do this?

    1) What you downloaded should be a packed file (zip, tar.gz, etc) that needs to be unpacked into the directory of your choice.
    2) & 3) are answered by Ant's installation documentation (the page you're quoting from):
    http://ant.apache.org/manual/index.html

  • Impossible d'installer itunes 10 ! message erreur pendant l'installation : HRESULT: 0x8007054F .  Il demande de d'installer et ré-installer Itunes . chose faite a chaque fois mais toujours le même problème !!

    Ca fait plusieurs jours que je cherche sur le Net pour résoudre le problème d'installation de Itunes 10 mais en vain...
    Lors de l'installation un message d'erreur apparait: " Microsoft.VC80.CRT.typewin32 version=8.050727.6195 publicKeyToken=1fc8b9a1e18e3b"
    avec le message "HRESULT: 0x8007054F"
    J'ai déjà tous désinstallé, jusqu'au moindre fichier apple dans le répertoir "C" , effacer toute traces de Itune,Bonjour, Quicktime,... puis ensuite utiliser "WINDOWS Installer Cleanup"  pour nettoyer en profondeur.
    Relancer l'installation mais toujours le même message d'erreur !!!
    En forçant l'installation, dès que je lance Itunes, le message d'erreur : "ERREUR 2"  apparait et Itunes ne se lance pas.
    Aidez-moi SVP merci car là je sèche complètement ! 
    Je suis sous VISTA 32bits

    SCAN your computer for possible WIndows system file corruption.
    Can you go to command prompt (START/ALL PROGRAMS/ACCESSORIES right mouse click "command prompt" and choose "Run as Administrator"
    type in
    sfc /scannow
    let Windows fix any system files that need to be repaired.
    Restart the computer.
    Then do the install.

  • Installing a DOM XML Parser

    Hey, I apologize for the newbie question but I suppose this is as good a place as any for it. I'm in desperate need of a DOM XML parser and have decided upon the Apache parser, "Xerces," featured here. My problem is this, every time I make a move towards installing it, I get all mixed up at the mention of my "Apache, ant and forrest" installations that I am apparently supposed to have in order for this library to work. My question is, is this library only for use in web-based applications and thus requires Apache in order to run? I ask because the application I'm working on is simply for desktop usage and the users it will be distributed to will not have Apache installations. If somebody could help me out with a quick little walk-through on the installation of this library it would be IMMENSELY appreciated.
    Edited by: Tracekill on Sep 13, 2009 11:01 AM

    Study up on the javax.xml.parsers API here at Sun. Next, download Xerces from Apache (xml.apache.org). Finally, take a tutorial.
    - Saish

  • Error:--Can anyone help me...........

    Hi All,
    I am getting following error while installing following .sar filesof e-Gate:- MFS,SunJavaSystemeWay,SybaseeWay,MQSerieseWay and eIndex
    Error is:--
    Install Directory File Name is: C:\JavaCAPS51\repository\upload\C49D9F4CBEF0B0AE5E697633F3680975\gsr76487\install.xml
    Installation Started, Please wait ...
    Refer to this upload session's Logs at:
    C:\JavaCAPS51\repository\server\logs\eManagerInstaller-1157359911268.log
    1 :
    2 : install:
    3 : [InstallRepAPI] API class name: com.stc.mfs.repository.impl.MfsManagerImpl
    4 : [InstallRepAPI] Connecting to Repository: http://axa-foe649:12000/Hexrepo
    5 : [InstallRepAPI] API SYSTEM ID: MfsManager/SBYN0001
    6 : [InstallRepAPI] Adding JAR files for API: [C:\JavaCAPS51\repository\upload\C49D9F4CBEF0B0AE5E697633F3680975\gsr76487\lib\mfsrepository.jar, C:\JavaCAPS51\repository\upload\C49D9F4CBEF0B0AE5E697633F3680975\gsr76487\lib\mfsbpi.jar]
    7 :
    8 : BUILD FAILED
    9 : file:C:/JavaCAPS51/repository/upload/C49D9F4CBEF0B0AE5E697633F3680975/gsr76487/install.xml:20: com.stc.repository.RepositoryException:
    10 : Could not get information for an object with OID Hexrepo of type {01000000-23A61B690D0100-0A012E8C-01}
    11 :
    12 : No server error detail
    13 :
    14 : Total time: 40 seconds
    Reported execute exit value: 1
    Buildfile: C:\JavaCAPS51\repository\upload\C49D9F4CBEF0B0AE5E697633F3680975\gsr76487\install.xml
    Executing installation script failed.
    Failed to execute ant:
    Executing installation script failed.
    Adding product MFS to the Failed List.
    Executing installation script failed.

    Try examining the temp directory on your box. I haven't done an Win install for CAPS but have done a few Solaris installs and have come across an eway or 2 that doesn't get cleaned out of the tmp directory after another user's install. So when I go to upload the same component for a different instance of CAPS it then chokes (though I don't recall seeing the specific exception you detail). Directory I had to remove on Solaris (or Unix) is /var/tmp/XSDManager (find Win equivalant). I found that by removing the XSDManager directory that my problem was resolved and could continue the component upload (though the XSDManager would again need to be removed afterwards or the next person doing install of same component for different CAPS instance would run into same snag). The problem may not be the XSDManager in your case but still may be a leftover directory in your tmp directory that didn't get cleaned up by a previous install of those components. If this is the first and only instance of CAPS that you are installing on that box then this info is of little help.

  • Problem when install CAPS

    Hi guys, I need help :-)
    I managed to download the egate package of the sun enterprise system, however during the uploading of the egate package (egate.sar) I am getting a failed error.
    eGate (1 of 1 Product List)
    Bottom of Form
    Product Name : eGate
    Product Version : 5.1.0
    Installed by User : Administrator
    SAR File Name : C:\JavaCAPS51\repository\upload\1913110EA9DFFA68B2EBF359BF4C9EFE\gsr2285.sar
    From Directory : C:\JavaCAPS51\repository\upload\1913110EA9DFFA68B2EBF359BF4C9EFE\gsr2285
    File [0] = BaseESR.sar
    File [1] = basicmapper.sar
    File [2] = cme.sar
    File [3] = codegenframework.sar
    File [4] = codegenvalidation.sar
    File [5] = commonmodel.sar
    File [6] = commons.jxpath.sar
    File [7] = configeditor.sar
    File [8] = DatabaseModel.sar
    File [9] = deploycli.sar
    File [10] = deploymenteditor.sar
    File [11] = edesigner.sar
    File [12] = edhelp.sar
    File [13] = eInsightIntegration.sar
    File [14] = EncodingConverter.sar
    File [15] = eventmanagement.sar
    File [16] = eWaysCommon.sar
    File [17] = guirepmanager.sar
    File [18] = install.xml
    File [19] = javadebugger.sar
    File [20] = javaEditorModel.sar
    File [21] = jce.sar
    File [22] = jcealerter.sar
    File [23] = jcecodegen.sar
    File [24] = jmscodegen.sar
    File [25] = jmsjca.sar
    File [26] = login.sar
    File [27] = META-INF
    File [28] = mqjmsmessageserver.sar
    File [29] = nb-cookies.sar
    File [30] = nodefilechooser.sar
    File [31] = otdcodegen.sar
    File [32] = otdcsvwizard.sar
    File [33] = otdfcxwizard.sar
    File [34] = otdtester.sar
    File [35] = otdud1flatwizard.sar
    File [36] = otdud1wizard.sar
    File [37] = projectexplorer.sar
    File [38] = queue.sar
    File [39] = repofiler.sar
    File [40] = reportGenerator.sar
    File [41] = RuntimeServer.sar
    File [42] = schedulerotd.sar
    File [43] = smeks.sar
    File [44] = stcacl.sar
    File [45] = stcconfigurationmodule.sar
    File [46] = stccustomotdeditormodule.sar
    File [47] = stccustomotdwizardcommonmodule.sar
    File [48] = stcdeploymentframeworkmodule.sar
    File [49] = stcdtdwizardmodule.sar
    File [50] = stcenvironmentexplorer.sar
    File [51] = stcimpactanalysis.sar
    File [52] = stcimportexport.sar
    File [53] = stcintegserver.sar
    File [54] = stcjmsotdmodule.sar
    File [55] = stclicense.sar
    File [56] = stclog4JAdapter.sar
    File [57] = stclogicalhost.sar
    File [58] = stcmessageserver.sar
    File [59] = stcnaming.sar
    File [60] = stcotdeditormodule.sar
    File [61] = stcotdlaunchermodule.sar
    File [62] = stcotdmodule.sar
    File [63] = stcrepositoryclient.sar
    File [64] = stcversioncontrol.sar
    File [65] = stcwizardcommonmodule.sar
    File [66] = stcxsdwizardmodule.sar
    File [67] = sunJavaSystem81.sar
    File [68] = sunJavaSystem81EmbeddedMessageServer.sar
    File [69] = topic.sar
    File [70] = variableConstants.sar
    File [71] = viewmanager.sar
    File [72] = webservices.sar
    File [73] = wsdlcodegen.sar
    File [74] = wsdleditor.sar
    File [75] = wsdlotd.sar
    File [76] = xce.sar
    File [77] = xcecodegen.sar
    File [78] = xsdcodegen.sar
    File [79] = xsdeditor.sar
    Hot Deployment URL is: http://localhost:12000/manager
    Install Directory File Name is: C:\JavaCAPS51\repository\upload\1913110EA9DFFA68B2EBF359BF4C9EFE\gsr2285\install.xml
    Installation Started, Please wait ...
    Refer to this upload session's Logs at:
    C:\JavaCAPS51\repository\server\logs\eManagerInstaller-1170198173231.log
    1 :
    2 : install:
    3 : [installsar] ***************************************************************
    4 : [installsar] Installing SAR: commonmodel.sar
    5 : [installsar] Executing script: C:\JavaCAPS51\repository\work\1170198181638/install.xml
    6 : [unjar] Expanding: C:\JavaCAPS51\repository\upload\1913110EA9DFFA68B2EBF359BF4C9EFE\gsr2285\commonmodel.sar into C:\JavaCAPS51\repository\work\1170198181638
    7 :
    8 : all:
    9 : [InstallRepAPI] API class name: com.stc.model.common.externalsystem.impl.ExternalSystemManagerImpl
    10 : [InstallRepAPI] Connecting to Repository: http://localhost:12000/RepositoryName
    11 : [InstallRepAPI] API SYSTEM ID: CommonExternalSystemManager/SBYN5454
    12 : [InstallRepAPI] Updating JAR files for API: [C:\JavaCAPS51\repository\work\1170198181638\lib\com.stc.commonmodelapi.jar, C:\JavaCAPS51\repository\work\1170198181638\lib\com.stc.commonmodelimpl.jar]
    13 : [InstallRepAPI] API installed successfully.
    14 : [InstallRepAPI] API class name: com.stc.model.common.impl.ModuleManagerImpl
    15 : [InstallRepAPI] Connecting to Repository: http://localhost:12000/RepositoryName
    16 : [InstallRepAPI] API SYSTEM ID: ModuleManager/SBYN900
    17 : [InstallRepAPI] Updating JAR files for API: [C:\JavaCAPS51\repository\work\1170198181638\lib\com.stc.commonmodelapi.jar, C:\JavaCAPS51\repository\work\1170198181638\lib\com.stc.commonmodelimpl.jar]
    18 : [InstallRepAPI] API installed successfully.
    19 : [InstallRepAPI] API class name: com.stc.model.common.impl.ProjectManagerImpl
    20 : [InstallRepAPI] Connecting to Repository: http://localhost:12000/RepositoryName
    21 : [InstallRepAPI] API SYSTEM ID: ProjectManager/SBYN700
    22 : [InstallRepAPI] Updating JAR files for API: [C:\JavaCAPS51\repository\work\1170198181638\lib\com.stc.commonmodelapi.jar, C:\JavaCAPS51\repository\work\1170198181638\lib\com.stc.commonmodelimpl.jar]
    23 : [InstallRepAPI] API installed successfully.
    24 : [InstallRepAPI] API class name: com.stc.model.common.impl.EnvironmentManagerImpl
    25 : [InstallRepAPI] Connecting to Repository: http://localhost:12000/RepositoryName
    26 : [InstallRepAPI] API SYSTEM ID: EnvironmentManager/SBYN701
    27 : [InstallRepAPI] Updating JAR files for API: [C:\JavaCAPS51\repository\work\1170198181638\lib\com.stc.commonmodelapi.jar, C:\JavaCAPS51\repository\work\1170198181638\lib\com.stc.commonmodelimpl.jar]
    28 : [InstallRepAPI] API installed successfully.
    29 : [InstallModule] Module: commonmodel
    30 : [InstallModule] Repository directory: InstallManager/edesigner/modules/
    31 : [InstallModule] ED directory: modules/
    32 : [InstallModule] Distributed URL: http://localhost:12000/repository/RepositoryName
    33 : [InstallModule] Connecting to Repository: http://localhost:12000/RepositoryName
    34 : [InstallModule] Updating Module: commonmodel
    35 : [InstallModule] local temp catalog.xml path : C:\JavaCAPS51\repository\work\1170198181638\_tmpcatalog.xml
    36 : [InstallModule] retrieving catalog.xml from repository
    37 : [InstallModule] Adding Module: commonmodel
    38 : [InstallModule] ED Module installed successfully.
    39 : [InstallJava] Connecting to Repository: http://localhost:12000/RepositoryName
    40 : [InstallJava] Filename : C:\JavaCAPS51\repository\work\1170198181638\commonmodel.nbm
    41 : [InstallJava] Adding/Updating Java Module: commonmodel
    42 : [InstallJava] Java Module installed successfully.
    43 : [installsar] SAR file: commonmodel.sar installed successfully.
    44 : [installsar] ***************************************************************
    45 : [installsar] ***************************************************************
    46 : [installsar] Installing SAR: commons.jxpath.sar
    47 : [installsar] Executing script: C:\JavaCAPS51\repository\work\1170198187341/install.xml
    48 : [unjar] Expanding: C:\JavaCAPS51\repository\upload\1913110EA9DFFA68B2EBF359BF4C9EFE\gsr2285\commons.jxpath.sar into C:\JavaCAPS51\repository\work\1170198187341
    49 :
    50 : all:
    51 : [InstallModule] Module: commonsJXPath
    52 : [InstallModule] Repository directory: InstallManager/edesigner/modules/
    53 : [InstallModule] ED directory: modules/
    54 : [InstallModule] Distributed URL: http://localhost:12000/repository/RepositoryName
    55 : [InstallModule] Connecting to Repository: http://localhost:12000/RepositoryName
    56 : [InstallModule] Adding Module: commonsJXPath
    57 : [InstallModule] local temp catalog.xml path : C:\JavaCAPS51\repository\work\1170198187341\_tmpcatalog.xml
    58 : [InstallModule] retrieving catalog.xml from repository
    59 : [InstallModule] created Module from NBM file : C:\JavaCAPS51\repository\work\1170198187341\modules\commons.jxpath.nbm
    60 : [InstallModule] module doesn't exist, adding to catalog.xml
    61 : [InstallModule] wrote temp catalog.xml
    62 : [InstallModule] uploaded temp catalog.xml to repository
    63 : [InstallModule] ED Module installed successfully.
    64 : [InstallJava] Connecting to Repository: http://localhost:12000/RepositoryName
    65 : [InstallJava] Filename : C:\JavaCAPS51\repository\work\1170198187341\modules\commons.jxpath.nbm
    66 : [InstallJava] Adding/Updating Java Module: commonsJXPath
    67 : [InstallJava] Java Module installed successfully.
    68 : [installsar] SAR file: commons.jxpath.sar installed successfully.
    69 : [installsar] ***************************************************************
    70 : [installsar] ***************************************************************
    71 : [installsar] Installing SAR: stcrepositoryclient.sar
    72 : [installsar] Executing script: C:\JavaCAPS51\repository\work\1170198188997/install.xml
    73 : [unjar] Expanding: C:\JavaCAPS51\repository\upload\1913110EA9DFFA68B2EBF359BF4C9EFE\gsr2285\stcrepositoryclient.sar into C:\JavaCAPS51\repository\work\1170198188997
    74 :
    75 : install:
    76 : [InstallModule] Module: RepositoryClient
    77 : [InstallModule] Repository directory: InstallManager/edesigner/modules/
    78 : [InstallModule] ED directory: modules/
    79 : [InstallModule] Distributed URL: http://localhost:12000/repository/RepositoryName
    80 : [InstallModule] Connecting to Repository: http://localhost:12000/RepositoryName
    81 : [InstallModule] Adding Module: RepositoryClient
    82 : [InstallModule] local temp catalog.xml path : C:\JavaCAPS51\repository\work\1170198188997\_tmpcatalog.xml
    83 : [InstallModule] retrieving catalog.xml from repository
    84 : [InstallModule] created Module from NBM file : C:\JavaCAPS51\repository\work\1170198188997\com.stc.repositoryclient.nbm
    85 : [InstallModule] module doesn't exist, adding to catalog.xml
    86 : [InstallModule] wrote temp catalog.xml
    87 : [InstallModule] uploaded temp catalog.xml to repository
    88 : [InstallModule] ED Module installed successfully.
    89 : [InstallJava] Connecting to Repository: http://localhost:12000/RepositoryName
    90 : [InstallJava] Filename : C:\JavaCAPS51\repository\work\1170198188997\com.stc.repositoryclient.nbm
    91 : [InstallJava] Adding/Updating Java Module: RepositoryClient
    92 : [InstallJava] Java Module installed successfully.
    93 : [installsar] SAR file: stcrepositoryclient.sar installed successfully.
    94 : [installsar] ***************************************************************
    95 : [installsar] ***************************************************************
    96 : [installsar] Installing SAR: viewmanager.sar
    97 : [installsar] Executing script: C:\JavaCAPS51\repository\work\1170198191138/install.xml
    98 : [unjar] Expanding: C:\JavaCAPS51\repository\upload\1913110EA9DFFA68B2EBF359BF4C9EFE\gsr2285\viewmanager.sar into C:\JavaCAPS51\repository\work\1170198191138
    99 :
    100 : all:
    101 : [InstallModule] Module: viewmanager
    102 : [InstallModule] Repository directory: InstallManager/edesigner/modules/
    103 : [InstallModule] ED directory: modules/
    104 : [InstallModule] Distributed URL: http://localhost:12000/repository/RepositoryName
    105 : [InstallModule] Connecting to Repository: http://localhost:12000/RepositoryName
    106 : [InstallModule] Adding Module: viewmanager
    107 : [InstallModule] local temp catalog.xml path : C:\JavaCAPS51\repository\work\1170198191138\_tmpcatalog.xml
    108 : [InstallModule] retrieving catalog.xml from repository
    109 : [InstallModule] created Module from NBM file : C:\JavaCAPS51\repository\work\1170198191138\modules\viewmanager.nbm
    110 : [InstallModule] module doesn't exist, adding to catalog.xml
    111 : [InstallModule] wrote temp catalog.xml
    112 : [InstallModule] uploaded temp catalog.xml to repository
    113 : [InstallModule] ED Module installed successfully.
    114 : [InstallJava] Connecting to Repository: http://localhost:12000/RepositoryName
    115 : [InstallJava] Filename : C:\JavaCAPS51\repository\work\1170198191138\modules\viewmanager.nbm
    116 : [InstallJava] Adding/Updating Java Module: viewmanager
    117 : [InstallJava] Java Module installed successfully.
    118 : [installsar] SAR file: viewmanager.sar installed successfully.
    119 : [installsar] ***************************************************************
    120 : [installsar] ***************************************************************
    121 : [installsar] Installing SAR: cme.sar
    122 : [installsar] Executing script: C:\JavaCAPS51\repository\work\1170198192528/install.xml
    123 : [unjar] Expanding: C:\JavaCAPS51\repository\upload\1913110EA9DFFA68B2EBF359BF4C9EFE\gsr2285\cme.sar into C:\JavaCAPS51\repository\work\1170198192528
    124 :
    125 : all:
    126 : [InstallRepAPI] API class name: com.stc.cme.migration.CMEManagerImpl
    127 : [InstallRepAPI] Connecting to Repository: http://localhost:12000/RepositoryName
    128 : [InstallRepAPI] API SYSTEM ID: CMEManager/SBYN110
    129 : [InstallRepAPI] Adding JAR files for API: [C:\JavaCAPS51\repository\work\1170198192528\lib\com.stc.commonmodelapi.jar, C:\JavaCAPS51\repository\work\1170198192528\lib\com.stc.commonmodelimpl.jar, C:\JavaCAPS51\repository\work\1170198192528\lib\com.stc.cmemodelapi.jar, C:\JavaCAPS51\repository\work\1170198192528\lib\com.stc.cme.jar, C:\JavaCAPS51\repository\work\1170198192528\lib\JGo.jar, C:\JavaCAPS51\repository\work\1170198192528\lib\JGoLayout.jar, C:\JavaCAPS51\repository\work\1170198192528\lib\JGoSVG.jar, C:\JavaCAPS51\repository\work\1170198192528\lib\log4j.jar, C:\JavaCAPS51\repository\work\1170198192528\lib\concurrent.jar, C:\JavaCAPS51\repository\work\1170198192528\lib\com.stc.edutilapi.jar]
    130 : [InstallRepAPI] API installed successfully.
    131 : [InstallModule] Module: CME
    132 : [InstallModule] Repository directory: InstallManager/edesigner/modules/
    133 : [InstallModule] ED directory: modules/
    134 : [InstallModule] Distributed URL: http://localhost:12000/repository/RepositoryName
    135 : [InstallModule] Connecting to Repository: http://localhost:12000/RepositoryName
    136 : [InstallModule] Adding Module: CME
    137 : [InstallModule] local temp catalog.xml path : C:\JavaCAPS51\repository\work\1170198192528\_tmpcatalog.xml
    138 : [InstallModule] retrieving catalog.xml from repository
    139 : [InstallModule] Error while reading the Catalog.xml com.stc.repository.RepositoryException: Copy file failed. from : C:/JavaCAPS51/repository/data/files/InstallManager/catalog.xml to : C:/JavaCAPS51/repository/work/1170198192528/_tmpcatalog.xml : rename failed. : Cannot rename file: C:\JavaCAPS51\repository\work\1170198192528\forCopy50334.tmp to C:\JavaCAPS51\repository\work\1170198192528\_tmpcatalog.xml
    140 : [InstallModule] Cannot rename file: C:\JavaCAPS51\repository\work\1170198192528\forCopy50334.tmp to C:\JavaCAPS51\repository\work\1170198192528\_tmpcatalog.xml
    141 : [InstallModule]
    142 : [InstallModule] No server error detail
    143 :
    144 : BUILD FAILED
    145 : file:C:/JavaCAPS51/repository/work/1170198192528/install.xml:21: Copy file failed. from : C:/JavaCAPS51/repository/data/files/InstallManager/catalog.xml to : C:/JavaCAPS51/repository/work/1170198192528/_tmpcatalog.xml : rename failed. : Cannot rename file: C:\JavaCAPS51\repository\work\1170198192528\forCopy50334.tmp to C:\JavaCAPS51\repository\work\1170198192528\_tmpcatalog.xml
    146 : Cannot rename file: C:\JavaCAPS51\repository\work\1170198192528\forCopy50334.tmp to C:\JavaCAPS51\repository\work\1170198192528\_tmpcatalog.xml
    147 :
    148 : Total time: 18 seconds
    Reported execute exit value: 1
    Buildfile: C:\JavaCAPS51\repository\upload\1913110EA9DFFA68B2EBF359BF4C9EFE\gsr2285\install.xml
    Executing installation script failed.
    Failed to execute ant:
    Executing installation script failed.
    Adding product eGate to the Failed List.
    Executing installation script failed.
    ::::::::::::::::: Installation Failed for :::::::::::::::::::::::::::::::
    Name: eGate Version: 5.1.0
    Deleting File: C:\JavaCAPS51\repository\upload\1913110EA9DFFA68B2EBF359BF4C9EFE\gsr2285.sar
    Deleting Folder: C:\JavaCAPS51\repository\upload\1913110EA9DFFA68B2EBF359BF4C9EFE\gsr2285

    From the following looks like renaming problem
    139 : [InstallModule] Error while reading the Catalog.xml com.stc.repository.RepositoryException: Copy file failed. from : C:/JavaCAPS51/repository/data/files/InstallManager/catalog.xml to : C:/JavaCAPS51/repository/work/1170198192528/_tmpcatalog.xml : rename failed. : Cannot rename file: C:\JavaCAPS51\repository\work\1170198192528\forCopy50334.tmp to C:\JavaCAPS51\repository\work\1170198192528\_tmpcatalog.xml
    Thinking loud - before creating the file is it trying to rename?? bcz of clock speed/processor speed..
    bcz today i again i am able 2 install the product sucessfully. not able to reproduce the above bug/problem.
    What is your m/c configuration?
    thanks
    ram

  • TS2512 i m trying to convert dpx files to mov in colour 1.5.3 but in file browser files are not seen in proper order for ex files names are 12345 it is coming as 23145 bcoz of which in output also its coming in wrong order

    i m trying to convert dpx files to mov in colour 1.5.3 but in file browser files are not seen in proper order for ex files names are 12345 it is coming as 23145 bcoz of which in output also its coming in wrong order

    1) What you downloaded should be a packed file (zip, tar.gz, etc) that needs to be unpacked into the directory of your choice.
    2) & 3) are answered by Ant's installation documentation (the page you're quoting from):
    http://ant.apache.org/manual/index.html

  • Can i re-distribute jre on a cd ???

    Hi,
    I have ant-based installer that uses JRE to run. I want to ship this in a CD. To make life easier for the end user, I would like to ship JRE in the CD as well. I just want to know that is it LEGAL to ship JRE for an installer that is suppose to run on windows platform.
    I did some research and saw this:
    http://www.java.com/en/download/license.jspBut being a programmer and not a legal guy, I couldn't exactly understand some legal terminology there. So, I would appreciate if someone can please tell me that is it legal to re-distribute JRE on a cd for a installer being used for a commercial product.
    Thanks
    P.S: I didn't find any other forum that discusses this topic,so I had to place it here.

    Hi,
    I have ant-based installer that uses JRE to run. I
    want to ship this in a CD. To make life easier for
    the end user, I would like to ship JRE in the CD as
    well. I just want to know that is it LEGAL to ship
    JRE for an installer that is suppose to run on
    windows platform.
    I did some research and saw this:
    http://www.java.com/en/download/license.jspBut being a programmer and not a legal guy, I
    couldn't exactly understand some legal terminology
    there. So, I would appreciate if someone can please
    tell me that is it legal to re-distribute JRE on a cd
    for a installer being used for a commercial product.
    Thanks
    P.S: I didn't find any other forum that discusses
    this topic,so I had to place it here.This seems to be something that you are fairly concerned with. In that case I suggest that you speak to someone who has a legal background, and more importantly someone you can use should you actually run into legal battles. Nothing anyone here says would cover you in the case of a legal battle. I believe you can get information about this from the eff (not sure weather or not that is accutrate though, so if someone else has more information please correct me).

  • Cannot find "ant" in the oracle10g installation

    I have installed oracle10g application server. i was asked to
    please make sure that the ant command associated with the OC4J ant distribution is in your execution path (%OC4J_HOME%/ant/bin).
    the problem is
    1. which directory in oracle10g does the oc4j_home point to
    2. i searched for 'ant' in the entire oracle10g directory and could not find it at all. Is my installation incorrect?
    please tell me where i can find the ant in the oracle10g dorectory
    Thanks,
    Sharath

    Hello
    As far as I know, ANT is not a component of OAS. So you never will be able to find it in a fresh oracle install.
    What you can do is go to Ant/Jakarta home page [1], download the software and install it in the OH
    [1] - http://ant.apache.org/

  • Comment trouver et installer une version antérieur de flash pro

    Salut,
    Je travail avec flash CC et du coup, je ne peux créer que des animations en AS3, comment faire de l'AS 2, est-il possible d'installer des version antérieur à CC ?
    d'avance merci

    Bonjour Gilles,
    Il est possible de telecharger des anciennes version de nos produit via le lien ci-dessous:
    Other downloads
    Ce lien vous donne acces au version mais pour activer les licenses, il vous faut un numero de serie, non fourni.
    A partir du Creative Cloud, il est aussi possible d'avoir acces a la CS6 sans frais supplementaire.
    N'hesitez pas a revenir vers nous si vous avez d'autres questions.
    Merci.
    Arnaud.

  • Ant Installation

    Hi all,
    I just downloaded Apache ant 1.8.2 for Windows (zip distribution) I unpacked it and set up my environment variables as indicated in the installation instructions. I then opened a command window and tried to execute ant. I keep getting this message
    Files\ant\Apache-ant-1.8.2""=="" was unexpected at this time
    To confirm that this was not a problem with my environment settings, I tested "java", and I tried removing ant from the path, going to the directory and running it there. I got the same error. Adding - version and I get the same error message.
    Anyone have any thoughts?

    It looks like you have installed Ant somewhere in you Windows' Program Files area. I don't know whether this is supposed to work or not, but as a general rule I try to avoid putting command-line programs there (never sure the vendor's scripts handle the space in the name correctly).
    Can you try installing it somewhere else, in a path that does not include any space?
    Brgds,
    J.

  • Poi installation nightmare!!!!!!!!!!!!!!!

    ok I am going out of my mind with this one. I have installed
    poi-2.5.1-final-20040804.jar
    poi-contrib-2.5.1-final-20040804.jar
    poi-scratchpad-2.5.1-final-20040804.jar
    in the right place (in the same place that I put rowset.jar and it's working)
    with jsp page:
    <%@page import="org.apache.poi.hssf.usermodel.HSSFWorkbook"%>
    <%
    HSSFWorkbook wb;
    the error is:
    test4$jsp.java [3:1] cannot resolve symbol
    symbol : class HSSFWorkbook
    location: package usermodel
    import org.apache.poi.hssf.usermodel.HSSFWorkbook;
    It's ok with just the import statement but I get the error above with the workbook statement. I realise it looks like it can't find it but it doesn't make sense, I've put it everywhere in the system at various stages. I doubt anyone can help but thought I'd post it here just incase.
    Thanks,
    Louise.

    so you are sure you put the jars in the folder
    webapps/<contextname>/WEB-INF/lib
    ? If so, it should work after you reboot the webserver.
    One additional thing you can try is emptying the directory where your servlet container stores the generated servlets (fx. for tomcat this is the 'work' directory). I sometimes have to do this when I make changes to the system, but it's very rare.

  • Jwsdp installation, ant execution

    I installed jwsdp 1.1 on my system (windows xp)
    after following the getting started guide, my path looks like this
    C:\Documents and Settings\Vajja\jwsdp-1.1\jakarta-ant-1.5.1\bin;C:\Documents and Settings\Vajja\jwsdp-1.1\jwsdp-shared\bin;%JAVA_HOME%\bin;C:\Documents and Settings\Vajja\jwsdp-1.1\bin;
    yet i am not able to execute the ant command. the following error prompts when ever i try to execute the ant command
    Exception in thread "main" java.lang.NoClassDefFoundError: and
    can some one let me know why am i not able to execute ant on my system

    make a copy of Ant.bat
    sprinkle through with 'echo' comments see if you can find out where it
    is failing. On Win98se when I did this I found that lines like
    if exist blah
    don't work. and the 'For ' loop where it adds the JAR files for Ant to the class path didn't work because 'jakarta-ant-1.5' is too long a filename for DOS
    I don't know if WIndows XP has this problem though...
    Can you get java itself to work? If you type 'Java -version' do you get
    the version?
    What exactly is the error??
    Exception in thread "main" java.lang.NoClassDefFoundError:
    is it:
    .. NoClassDefFoundError: org.apache.ant.Main ?? or soemthing like that
    that will tell you what class can not be found.....

  • Installation problem under windows XP

    My PC runs under Windows XP. I want to install LabVIEW. The installer begins to copy files and displays the message "L'application n'a pa réussi à s'initialiser correctement (0xc0000142). Cliquez sur OK pour arrêter l'application). " (I've the french version). If I click on OK, the message appears again, ant the task is very difficult to kill. despite this message, the installation continues to run but never ends. After a moment, there was no more activity. The only thing I had to do was to reboot the PC.
    The anti virus was desactivated. I tryed again with the administrator profile but with no more succes.
    Could someboty give me some explanation?
    Thanks.

    Try copying the CD to your hard drive and installing from there. I have never received this exact error but have seen other installations repaired by this procedure. It's worth a try.
    J.R. Allen

  • Installation Problems on Win2k

    Hi,
    i am trying to install J2EE on Win2k... so far I have nothing but problems... i set the environment vars as suggested by the installation guide... still i can't get server to start ... n e way... here are details :
    OS : Window 2k - Service Pack 3
    J2sdkee1.3.1 installation dir : D:\j2sdkee1.3.1
    J2sdkse1.4.1 installation dir : D:\Program Files\s1studio_jdk\j2sdk1.4.1
    Environment variables set as :
    J2EE_HOME : D:\j2sdkee1.3.1;
    JAVA_HOME : D:\Program Files\s1studio_jdk\j2sdk1.4.1;
    PATH : D:\j2sdkee1.3.1;D:\Program Files\s1studio_jdk\j2sdk1.4.1;D:\Ant\jakarta-ant-1.3;
    Now tell me what am i doing wrong...
    thanx in advance

    You probably want to set the bin/ directories in
    your pathvariable.
    Nevertheless, you should be able to start the server
    by doubleclicking in explorer-window. If this does not work, start a command-window, and try starting j2ee.bat
    in this window. You should at least get some error messages.

Maybe you are looking for