Manifest File

I am making a WBT where I need to use the scorm feature with Presenter and PowerPoint. I have looked at the help file for the instructions on what options to select for scorm and when I publish my presentation as a  .pdf file I am not getting a manifest file with it. What am I doing wrong?

I don't believe that the PDF version will do SCORM reporting. Publish out a zip of the Flash version and you will be able to see the manifest file in that zip. (don't publish directly to your desktop or you will end up with about 20 files and folders that you have to keep track of).

Similar Messages

  • WLS 6.1, SP2, Error Deploying WAR, Manifest file problem

    Hi,
    When I moved to SP2 on 6.1, I am getting a new error while deploying a war file.
    It looks from the stack trace that there is a problem with my manifest file, but
    I am just taking the manifest file created by jdk1.3 jar utility - My META-INF
    dir is empty before jarring. When opened in notepad, the cursor can go to the
    start of the line below the blank line. I mention this in case that is the EOF,
    and relevant to the problem. Any help is much appreciated.
    Mike
    Manifest File:
    Manifest-Version: 1.0
    Created-By: 1.3.1 (Sun Microsystems Inc.)
    Stack Trace:
    ####<Feb 22, 2002 10:32:36 AM EST> <Info> <HTTP> <mdunbar> <myserver> <ExecuteThread:
    '1' for queue: '__weblogic_admin_html_queue'> <system> <> <101031> <[WebAppServletContext(1118014,ipp,/ipp)]
    extracting classfiles to C:\bea\wlserver6.1\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myserver_myserver_ipp:>
    ####<Feb 22, 2002 10:32:36 AM EST> <Debug> <HTTP> <mdunbar> <myserver> <ExecuteThread:
    '1' for queue: '__weblogic_admin_html_queue'> <system> <> <101158> <Exception
    thrown while loading ipp: java.lang.StringIndexOutOfBoundsException: String index
    out of range: -1>
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1525)
         at weblogic.utils.jars.ManifestEntry.stream(ManifestEntry.java:166)
         at weblogic.utils.jars.Manifest.stream(Manifest.java:78)
         at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:398)
         at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:177)
         at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3405)
         at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3376)
         at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:815)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
         at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
         at weblogic.j2ee.Application.addComponent(Application.java:163)
         at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy32.addWebDeployment(Unknown Source)
         at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:984)
         at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:971)
         at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:956)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:648)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy98.addTarget(Unknown Source)
         at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:867)
         at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:966)
         at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:886)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:802)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
         at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy5.update(Unknown Source)
         at weblogic.management.console.webapp._domain.__upload_app._jspService(__upload_app.java:149)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:241)
         at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
         at weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    ####<Feb 22, 2002 10:32:36 AM EST> <Error> <J2EE> <mdunbar> <myserver> <ExecuteThread:
    '1' for queue: '__weblogic_admin_html_queue'> <system> <> <160001> <Error deploying
    application ipp: Could not load ipp>
    ####<Feb 22, 2002 10:32:36 AM EST> <Error> <Management> <mdunbar> <myserver> <ExecuteThread:
    '1' for queue: '__weblogic_admin_html_queue'> <system> <> <141042> <Error deploying
    application .\config\mydomain\applications\ipp.war: java.lang.reflect.UndeclaredThrowableException>

    I figured out what was causing this for me. Apparently, the new Manifest reader
    classes in WLS SP2 are a lot pickier ( polite way of saying they dont handle exception
    cases very well ;-) ). I had 2 third-party jar files in my WEB-INF/lib directory
    whose manifests had issues that the Manifest reader could not handle. One of
    them was a header line that wrapped and the other had extra lines at the end of
    the file. I had to unjar them, fix the manifests, and re-jar them. the server
    started up fine after that.
    It might be nice if they provided a better error message than "String Index Out
    Of Bounds: -1" for this problem, but hey, you can't have everything because where
    would you put it :)
    "Mike Dunbar" <[email protected]> wrote:
    >
    Hi,
    When I moved to SP2 on 6.1, I am getting a new error while deploying
    a war file.
    It looks from the stack trace that there is a problem with my manifest
    file, but
    I am just taking the manifest file created by jdk1.3 jar utility - My
    META-INF
    dir is empty before jarring. When opened in notepad, the cursor can go
    to the
    start of the line below the blank line. I mention this in case that is
    the EOF,
    and relevant to the problem. Any help is much appreciated.
    Mike
    Manifest File:
    Manifest-Version: 1.0
    Created-By: 1.3.1 (Sun Microsystems Inc.)
    Stack Trace:
    ####<Feb 22, 2002 10:32:36 AM EST> <Info> <HTTP> <mdunbar> <myserver>
    <ExecuteThread:
    '1' for queue: '__weblogic_admin_html_queue'> <system> <> <101031> <[WebAppServletContext(1118014,ipp,/ipp)]
    extracting classfiles to C:\bea\wlserver6.1\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myserver_myserver_ipp:>
    ####<Feb 22, 2002 10:32:36 AM EST> <Debug> <HTTP> <mdunbar> <myserver>
    <ExecuteThread:
    '1' for queue: '__weblogic_admin_html_queue'> <system> <> <101158> <Exception
    thrown while loading ipp: java.lang.StringIndexOutOfBoundsException:
    String index
    out of range: -1>
    java.lang.StringIndexOutOfBoundsException: String index out of range:
    -1
         at java.lang.String.substring(String.java:1525)
         at weblogic.utils.jars.ManifestEntry.stream(ManifestEntry.java:166)
         at weblogic.utils.jars.Manifest.stream(Manifest.java:78)
         at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:398)
         at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:177)
         at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3405)
         at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3376)
         at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:815)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
         at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
         at weblogic.j2ee.Application.addComponent(Application.java:163)
         at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy32.addWebDeployment(Unknown Source)
         at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:984)
         at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:971)
         at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:956)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:648)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy98.addTarget(Unknown Source)
         at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:867)
         at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:966)
         at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:886)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:802)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
         at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy5.update(Unknown Source)
         at weblogic.management.console.webapp._domain.__upload_app._jspService(__upload_app.java:149)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:241)
         at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
         at weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    ####<Feb 22, 2002 10:32:36 AM EST> <Error> <J2EE> <mdunbar> <myserver>
    <ExecuteThread:
    '1' for queue: '__weblogic_admin_html_queue'> <system> <> <160001> <Error
    deploying
    application ipp: Could not load ipp>
    ####<Feb 22, 2002 10:32:36 AM EST> <Error> <Management> <mdunbar> <myserver>
    <ExecuteThread:
    '1' for queue: '__weblogic_admin_html_queue'> <system> <> <141042> <Error
    deploying
    application .\config\mydomain\applications\ipp.war: java.lang.reflect.UndeclaredThrowableException>

  • Package load Failed! Invalid package Title, manifest file cannot be found

    Greetings. I am new to UPK and am seeking guidance on an upgrade to 11.1.
    A little background on what we are trying to do:
    We have two machines:
    Windows 2003 machine in domain 'X' | UPK 11.0.0.1.
    Windows 2008 R2 virtual machine in domain 'Y' | UPK 11.0 on the new machine first, install the 11.0.0.1 patch, and then upgrade to 11.1.
    We are using the same database as the old machine. Developer Server is Standard Authentication, Knowledge Center is Windows authentication.
    ==========================================================================================
    So far we have installed 11.1 with the respective database upgrades, but are lost as to how to migrate the old Content Root data. We have copied all the content to the new Content Root, added it to IIS like the old machine, and verified that the UPK database Content Root path is correct and working.
    For the rest of the post, I am remoted into the server from my local workstation, and then using IE to access KCenter on the server's FQDN, not via localhost.
    Since I am green, so I presumed that I would need to import the titles under Manager in KCenter. I zipped each content folder individually (they are named "1", "9", etc), and then attempted to import each zip file.
    NOTE: At this stage sometimes we are prompted to authenticate again. When it does, sometimes the credentials that we know work, get rejected and we are prompted again. This will repeat until we get a 401 and we have to start over. We have verified that the Windows account currently in session with the site is valid and has administrator authority within KC.
    NOTE2: On the first few tries, .NET complained that maxRequestLength was not large enough. I had our servers team increase it on the actual server in order for us to proceed.
    Provided we don't have to authenticate again, or that it actually accepts our credentials, we get to the 30% mark and then receive the error: *"Package load Failed! Invalid package Title, manifest file cannot be found"*
    Does anyone have any wisdom for this process? The title importation section in the deployment manual is not helping, and the administrator from whom I am taking over this software has not had to deal with this before.
    Thank you,
    Ian
    Edited by: 986290 on Feb 5, 2013 10:21 AM

    Hi Marc, thanks for the post,
    I have gone through an extensive troubleshooting process with Oracle, including their development team, in order to fully complete our project setup. As a supplemental bit of information, we also were having connection errors when attempting to publish directly to the knowledge center.
    As far as the context of this post, here is the solution in brief:
    1) Verify that the package being imported was published from the same version of the Developer Client as the Knowledge Center installation's.
    2) Check for database consistency issues. In our case we were using a database that was built in another domain. After numerous attempts with Oracle support on the line to determine the inconsistency, it was decided to completely reinstall and build a new database from scratch in the new domain.
    3) Check application pool identities and access (while we had some inconsistencies here, correcting them did not change the behavior of the import/publish errors)
    In review, a lot of what we had setup was correct. Our primary point of failure, we feel, was using the old database. Technically this should not have been a problem, but Murphy likes to get his way sometimes.
    Cheers,
    Ian

  • Need help with a manifest file

    I'm trying to make a jar file executable, and I've seen numerous questions and answers regarding this particular issue, and none of them helped me with my problem.
    I have a batch file that runs the application without any problem, but when I try to create a manifest with the main class attribute copied char by char from my batch file and run it, I get a message "could not find the main class".
    I been browsing the web for the past 4 hours* now and the only type of answers I see for that problem is something like this:
    ...Main-Class... "${main.class}".
    This type of solution is worthless to me, since it doesn't tell me why my path is correct when I use the .bat file and incorrect when used in a .jar file.
    Thanks,
    Omer.

    I read there the related topics.
    However, it wasn't even close to being helpful.
    I'm using ant and the inner build.xml syntax is probably eluding me somewhere.
    In fact, if it was possible to find an example build file that was written for ant 1.6 or later and contains the Main-Class attribute (I've seen some examples that contain an example file, but none of them contained the Main-Class attribute, and I found some Main-Class examples but none of them showed where they should go or how they should appear within the manifest file.
    I'm at the point when I'm about to give up the whole idea and provide the unprofessionally looking .bat file.
    I thank anyone who has put his mind to this issue, but if there is no build.xml example, I guess you can't help me.
    Thanks anyway.
    It's frustrating to see how the most flexible language there is to work with when coding, becomes next to impossible to work with when you need to deploy it.
    Update, 30.04.2008:
    I have managed to figure out that the problem wasn't with the main class, but with the classpath.
    I run the program from Intellij, and everything works perfectly. I use a batch file, and perfect. I try to use an Ant generated jar with the classpath attribute set exactly like the batch file's paths, and nothing.
    There is no error message either.
    The classpath is located under "/lib/*.jar" in the distribution directory, where the "program.jar" is located.
    I have come to the point that i would pay to see a proper working build.xml and to see the relative and absolute paths of the classpath.
    This is actually harder than developing an extremely rich server application.
    Edited by: omerk76 on Apr 30, 2008 11:04 AM

  • Powershell: How do I upload files with metadata from a manifest file?

    I am using the script from this blog to try to upload files into SharePoint, using a manifest file to specify the metadata associated with each file. Right now, the script works, but is not populating
    the metadata from the manifest (xml) file. When I write the $metadataManifest variable out to the console, I get the contents of my xml file, so the code is reading the file when it should. However when it gets to the line in bold ($metadataManifest.Columns.Column),
    it does not go into that block...it just skips on to checkin the file. Again the $metadataManifest variable shows all the content in my xml manifest file. Here is what the script looks like...
    #Get web and document library objects
    $web = Get-SPWeb "http://companySite"
    $Library = "My Library"
    $docLibrary = $web.Lists[$Library]
    $ManifestFilePath = "C:\PowerShellScripts\Manifest.xml"
    $LocalPath = "C:\Upload\Test Upload\My Upload Directory\"
    if ($ManifestFilePath)
    $metadataManifest = (Get-Content ($ManifestFilePath))
    write-host "Manifest file: " $metadataManifest
    else
    write-host "Manifest file not specified for categorising uploaded documents"
    #Check for the LibraryStartFolder parameter to specify a root folder
    if ($PSBoundParameters.ContainsKey('LibraryStartFolder')) {
    $folder = $web.GetFolder($docLibrary.Title + $LibraryStartFolder)
    else
    $folder = $docLibrary.RootFolder
    #Attach to local folder and enumerate through all files
    if($IncludeSubFolders) {
    $files = Get-ChildItem $LocalPath -Recurse
    else
    $files = Get-ChildItem $LocalPath
    $files | ForEach-Object {
    #Check if the object is a folder - if so, create it in doc library
    if ($_.PSIsContainer) {
    if (($IncludeSubFolders) -and (!$FlattenStructure)) {
    #Generate folder path for creation in SharePoint
    #by looking at the parent folder on the local path
    $spFolderPath = ($_.Parent.FullName.Replace($LocalPath,"")).Replace("\","/")
    #Get the folder into which the new folder will be created
    #by adding the folder path generated above, if one existed
    if ($spFolderPath -eq "") {
    $currentFolder = $web.GetFolder($folder.Url)
    else
    $currentFolder = $web.GetFolder($folder.Url + $spFolderPath)
    #Check to see if subfolder already exists
    #and create it if not
    $testFolder = $currentFolder.SubFolders[$_.Name]
    if ($testFolder -eq $null) {
    write-host "`nAdding folder" $_.Name "to" $docLibrary.Title "in" $web.Title "..." -foregroundcolor Green
    $newFolder = $currentFolder.SubFolders.Add($_.Name)
    else
    write-host "`nFolder" $_.Name "already exists in" $docLibrary.Title "and shall not be created" -foregroundcolor Red
    else
    #Generate file path for upload into SharePoint
    if ($FlattenStructure) {
    $spFilePath = ("/" + $_.Name)
    else
    $spFilePath = ($_.FullName.Replace($LocalPath,"")).Replace("\","/")
    $spFullPath = $folder.Url + "/" + $spFilePath
    #Check if the file exists and the overwrite option is selected before adding the file
    if ((!$web.GetFile($spFullPath).Exists) -or ($Overwrite)) {
    #Add file
    write-host "`nCopying" $_.Name "to" $spFullPath.Replace("/" + $_.Name,"") "in" $web.Title "..." -foregroundcolor Green
    $spFile = $folder.Files.Add($spFullPath, $_.OpenRead(), $true)
    #$spFile = $folder.Files.Add($folder.Url + "/" + $file.Name, [System.IO.Stream]$fileStream, $true)
    $spItem = $spFile.Item
    #Walk through manifest XML file and configure column values on the file
    $metadataManifest.Columns.Column | ForEach-Object {
    #Single value text columns
    try
    if (($_.Type -eq "Text") -or
    ($_.Type -eq "Choice") -or
    ($_.Type -eq "Boolean") -or
    ($_.Type -eq "Number") -or
    ($_.Type -eq "Currency")) {
    $columnName = $_.Name
    write-host "Setting value on column"$columnName "..." -foregroundcolor Blue
    $_.Values.Value | ForEach-Object {
    $spItem[$columnName] = $_
    write-host "Value set to"$_
    catch {}
    #Multiple line text column
    try
    catch {}
    #Multiple choice columns
    try
    catch {}
    #Hyperlink columns
    try
    catch {}
    #Single User column
    try
    catch {}
    #Multiple User column
    try
    catch {}
    #Single value Managed Metadata column
    try
    catch {}
    #Multi value Managed Metadata column
    try
    catch {}
    #Update document with new column values
    $spItem.SystemUpdate($false)
    #Check in file to document library (if required)
    #MinorCheckIn=0, MajorCheckIn=1, OverwriteCheckIn=2
    if ($CheckIn) {
    if ($spFile.CheckOutStatus -ne "None") {
    $spFile.CheckIn("File copied from " + $filePath, 1)
    write-host $spfile.Name"checked in"
    #Approve file (if required)
    if ($Approve) {
    if ($spItem.ListItems.List.EnableModeration -eq $true) {
    $spFile.Approve("File automatically approved after copying from " + $filePath)
    if ($spItem["Approval Status"] -eq 0) { write-host $spfile.Name"approved" }
    else
    write-host "`nFile"$_.Name "already exists in" $spFullPath.Replace("/" + $_.Name,"") "and shall not be uploaded" -foregroundcolor Red
    $web.Dispose()
    And here is what the manifest file looks like...
    <?xml version="1.0" encoding="utf-8"?>
    <Columns>
    <Column Name="Column1" Type="Text">
    <Values>
    <Value>First File</Value>
    </Values>
    </Column>
    <Column Name="Column2" Type="Text">
    <Values>
    <Value>12585</Value>
    </Values>
    </Column>
    <Column name="Column3" type="Text">
    <Values>
    <Value>Some Data</Value>
    </Values>
    </Column>
    <Column name="Column4" type="Text">
    <Values>
    <Value>More Data</Value>
    </Values>
    </Column>
    </Columns>
    <Columns>
    <Column Name="Column1" Type="Text">
    <Values>
    <Value>Second File</Value>
    </Values>
    </Column>
    <Column Name="Column2" Type="Text">
    <Values>
    <Value>9876</Value>
    </Values>
    </Column>
    <Column name="Column3" type="Text">
    <Values>
    <Value>Some Data2</Value>
    </Values>
    </Column>
    <Column name="Column4" type="Text">
    <Values>
    <Value>More more Data</Value>
    </Values>
    </Column>
    </Columns>
    I can't figure out what am doing wrong...why my script is not iterating through the manifest file to upload the document along with the metadata. I would really appreciate any help. Thanks

    Hi Spawn,
    Name should not be a problem.. I will probably post you the entire code (I modified it to meet your goals for having multiple column xml nodes as well)
    For the code snippet below:
    a. In powershell all my changes will have ## prefixed comments
    b. in XML I have changed one column name to "Name" to replicate your case and also added a parent node for making the xml well formed.
    and the SharePoint output
    Please see the code below
    $web = Get-SPWeb "http://intranet/sites/test"
    $Library = "My Library"
    $docLibrary = $web.Lists[$Library]
    $ManifestFilePath = "D:\Manifest.xml"
    $LocalPath = "D:\UploadPath\"
    if ($ManifestFilePath)
    ##read the xml file as an xml object
    [xml]$metadataManifest = (Get-Content ($ManifestFilePath))
    write-host "Manifest file: " $metadataManifest
    else
    write-host "Manifest file not specified for categorising uploaded documents"
    #Check for the LibraryStartFolder parameter to specify a root folder
    if ($PSBoundParameters.ContainsKey('LibraryStartFolder')) {
    $folder = $web.GetFolder($docLibrary.Title + $LibraryStartFolder)
    else
    $folder = $docLibrary.RootFolder
    #Attach to local folder and enumerate through all files
    if($IncludeSubFolders) {
    $files = Get-ChildItem $LocalPath -Recurse
    else
    $files = Get-ChildItem $LocalPath
    $counter=0
    $files | ForEach-Object {
    #Check if the object is a folder - if so, create it in doc library
    if ($_.PSIsContainer) {
    if (($IncludeSubFolders) -and (!$FlattenStructure)) {
    #Generate folder path for creation in SharePoint
    #by looking at the parent folder on the local path
    $spFolderPath = ($_.Parent.FullName.Replace($LocalPath,"")).Replace("\","/")
    #Get the folder into which the new folder will be created
    #by adding the folder path generated above, if one existed
    if ($spFolderPath -eq "") {
    $currentFolder = $web.GetFolder($folder.Url)
    else
    $currentFolder = $web.GetFolder($folder.Url + $spFolderPath)
    #Check to see if subfolder already exists
    #and create it if not
    $testFolder = $currentFolder.SubFolders[$_.Name]
    if ($testFolder -eq $null) {
    write-host "`nAdding folder" $_.Name "to" $docLibrary.Title "in" $web.Title "..." -foregroundcolor Green
    $newFolder = $currentFolder.SubFolders.Add($_.Name)
    else
    write-host "`nFolder" $_.Name "already exists in" $docLibrary.Title "and shall not be created" -foregroundcolor Red
    else
    #Generate file path for upload into SharePoint
    if ($FlattenStructure) {
    $spFilePath = ("/" + $_.Name)
    else
    $spFilePath = ($_.FullName.Replace($LocalPath,"")).Replace("\","/")
    $spFullPath = $folder.Url + "/" + $spFilePath
    #Check if the file exists and the overwrite option is selected before adding the file
    if ((!$web.GetFile($spFullPath).Exists) -or ($Overwrite)) {
    #Add file
    write-host "`nCopying" $_.Name "to" $spFullPath.Replace("/" + $_.Name,"") "in" $web.Title "..." -foregroundcolor Green
    $spFile = $folder.Files.Add($spFullPath, $_.OpenRead(), $true)
    #$spFile = $folder.Files.Add($folder.Url + "/" + $file.Name, [System.IO.Stream]$fileStream, $true)
    $spItem = $spFile.Item
    ## ensure we pick the corresponding node in the columns xml (first file, first xml node, second file - second node likewise)
    #Walk through manifest XML file and configure column values on the file
    $metadataManifest.FileData.Columns[$counter].Column | ForEach-Object {
    #Single value text columns
    try
    if (($_.Type -eq "Text") -or
    ($_.Type -eq "Choice") -or
    ($_.Type -eq "Boolean") -or
    ($_.Type -eq "Number") -or
    ($_.Type -eq "Currency")) {
    $columnName = $_.Name
    write-host "Setting value on column"$columnName "..." -foregroundcolor Blue
    $_.Values.Value | ForEach-Object {
    $spItem[$columnName] = $_
    write-host "Value set to"$_
    catch {}
    #Multiple line text column
    try
    catch {}
    #Multiple choice columns
    try
    catch {}
    #Hyperlink columns
    try
    catch {}
    #Single User column
    try
    catch {}
    #Multiple User column
    try
    catch {}
    #Single value Managed Metadata column
    try
    catch {}
    #Multi value Managed Metadata column
    try
    catch {}
    #Update document with new column values
    $spItem.SystemUpdate($false)
    ##increment the counter to read the next xml node
    $counter++
    #Check in file to document library (if required)
    #MinorCheckIn=0, MajorCheckIn=1, OverwriteCheckIn=2
    if ($CheckIn) {
    if ($spFile.CheckOutStatus -ne "None") {
    $spFile.CheckIn("File copied from " + $filePath, 1)
    write-host $spfile.Name"checked in"
    #Approve file (if required)
    if ($Approve) {
    if ($spItem.ListItems.List.EnableModeration -eq $true) {
    $spFile.Approve("File automatically approved after copying from " + $filePath)
    if ($spItem["Approval Status"] -eq 0) { write-host $spfile.Name"approved" }
    else
    write-host "`nFile"$_.Name "already exists in" $spFullPath.Replace("/" + $_.Name,"") "and shall not be uploaded" -foregroundcolor Red
    $web.Dispose()
    and the xml file
    <?xml version="1.0" encoding="utf-8"?>
    <FileData>
    <Columns>
    <Column Name="Name" Type="Text">
    <Values>
    <Value>First File</Value>
    </Values>
    </Column>
    <Column Name="Column2" Type="Text">
    <Values>
    <Value>12585</Value>
    </Values>
    </Column>
    <Column name="Column3" type="Text">
    <Values>
    <Value>Some Data</Value>
    </Values>
    </Column>
    <Column name="Column4" type="Text">
    <Values>
    <Value>More Data</Value>
    </Values>
    </Column>
    </Columns>
    <Columns>
    <Column Name="Name" Type="Text">
    <Values>
    <Value>Second File</Value>
    </Values>
    </Column>
    <Column Name="Column2" Type="Text">
    <Values>
    <Value>12585</Value>
    </Values>
    </Column>
    <Column name="Column3" type="Text">
    <Values>
    <Value>Some Data</Value>
    </Values>
    </Column>
    <Column name="Column4" type="Text">
    <Values>
    <Value>More Data</Value>
    </Values>
    </Column>
    </Columns>
    <Columns>
    <Column Name="Name" Type="Text">
    <Values>
    <Value>Third File</Value>
    </Values>
    </Column>
    <Column Name="Column2" Type="Text">
    <Values>
    <Value>12585</Value>
    </Values>
    </Column>
    <Column name="Column3" type="Text">
    <Values>
    <Value>Some Data</Value>
    </Values>
    </Column>
    <Column name="Column4" type="Text">
    <Values>
    <Value>More Data</Value>
    </Values>
    </Column>
    </Columns>
    <Columns>
    <Column Name="Name" Type="Text">
    <Values>
    <Value>Fourth File</Value>
    </Values>
    </Column>
    <Column Name="Column2" Type="Text">
    <Values>
    <Value>12585</Value>
    </Values>
    </Column>
    <Column name="Column3" type="Text">
    <Values>
    <Value>Some Data</Value>
    </Values>
    </Column>
    <Column name="Column4" type="Text">
    <Values>
    <Value>More Data</Value>
    </Values>
    </Column>
    </Columns>
    <Columns>
    <Column Name="Name" Type="Text">
    <Values>
    <Value>Fifth File</Value>
    </Values>
    </Column>
    <Column Name="Column2" Type="Text">
    <Values>
    <Value>12585</Value>
    </Values>
    </Column>
    <Column name="Column3" type="Text">
    <Values>
    <Value>Some Data</Value>
    </Values>
    </Column>
    <Column name="Column4" type="Text">
    <Values>
    <Value>More Data</Value>
    </Values>
    </Column>
    </Columns>
    </FileData>
    Thanks and Regards,
    Partha
    AvePoint

  • How to put chinese character in the Manifest file

    Hi,
    I want to know that how can we put chinese characters in the manifest file. Please suggest a solution.
    Regards

    [slightly confused stuff removed]Sorry, AmitChalwade123456, I know trolling can be very funny, but you're confusing the sh*t out of newbies with this almost-seems-usefull kind of talk.
    Stop that.
    And in case you really meant that seriously: Please refrain from giving advice with regard to encoding. What you posted is wrong (to put it mildly).

  • Help using manifest file classpath.

    I have a jar file (A) that is dependant on another jar file (B). When I run my app, which references jar A, if it doesn't also include jar B in its class path I get an error referencing jar B (as expected)
    Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils
    But if I add the following to jar A's manifest file:
    Class-Path: E:\commons-io-1.1.jar
    if get an error referencing jar A
    java.lang.NoClassDefFoundError: utilities/gui/ExitApplicationProducer

    Ok, now I have "Class-Path: .\commons-io-1.1.jar"...That's still Windows-specific. If you want it to be relative to the referring jar, then simply specify commons-io-1.1.jar without the windows-specific path notation prefixing it.

  • Using Manifest File in PowerBuilder 5

    Hi,
    We are working in an old project which was developed in PowerBuilder 5.0,
    We followed the below steps to get the list of DLL and OCX getting register with our Application
    1. Searched in application installation path.
    2. Searched in source code.
    Is there any other way to get the list of components and reference list?
    We need the above list to create manifest file.
    We have another big challenge that whether Manifest file is work with PB5 or not? If yes,how to make PB5 app to communicate with manifest?
    Please help...
    Thanks,
    Sundar

    Roland,
    Please help me to find third party DLL and mention the DLLs to be register.
    I hope that the below dlls are related to PowerBuilder 5.0 and need not to register
    Pbbgr050.dll, Pbdbt050.dll, Pbdwe050.dll, Pbodb050.dll, Pbroi050.dll, Pbrtc050.dll, Pbrte050.dll, Pbrtf050.dll, Pbshr050.dll, Pbtyp050.dll
    I have doubt on following DLLs and ocx
    msvcrt.dll, MSVCRT40.dll, OLEPRO32.dll, Pfccom32.dll, CTDATE32.ocx
    Please confirm above 4 DLLs and 1 OCX are need to register?
    Thanks,
    Sundar

  • How to use manifest file to indicate the entry class?

    I am trying to package all my class files together and let the users to run my file using the following command line:
    java -jar program.jar
    For this purpose, I need to specify the main class in the manifest file. I create the manifest file as below:
    Manifest-Version: 1.0
    Created-By: 1.3.0 (Sun Microsystems Inc.)
    Main-Class: classname
    and include it in the same directory as my class file. then I jar all the files using:
    jar cvmf manifest.mf program.jar *.*
    However ,when I try to run the program using:
    java -jar program.jar, I get the error message:
    Failed to load Main-Class manifest attribute from program.jar.
    What have I done wrong? pls help!!! thanks a lot

    Hi.
    here one example:
    Manifest-Version: 1.0
    Main-Class: Solitaire.RunMe
    Created-By: 1.3.0 (Sun Microsystems Inc.)
    you may run it by : java -jar Solitaire.jar, or doubleclick over the Solitaire.jar
    the main class is RunMe in package Solitaire.
    so the complite path would be Solitaire.RunMe.
    enother one
    Manifest-Version: 1.0
    Main-Class: RunMe.RunMe
    Created-By: Forte for Java v. 1.0
    you may run it by : java -jar Transmission.jar, or doubleclick over the Transmission.jar
    the main class is RunMe in package RunMe.
    so the complite path would be RunMe.RunMe.

  • How to pass argument in manifest file

    Hi,
    I want to pass argument to main class in jar. Is there any option in manifest file.

    Hmm..
    Seems that my sentence above isn't so correct.
    It possible to add custom attribute: value pairs into manifest file and
    read it later from Java class.
    Here is code sample:
    public class ManifestTest {
        public static void main(String[] args) {
            try {
                java.util.jar.JarFile jar = new java.util.jar.JarFile(System.getProperty("java.class.path"));
                for (java.util.Iterator it = jar.getManifest().getMainAttributes().keySet().iterator();it.hasNext();) {
                    Object curKey = it.next();
                    System.out.println("key: " + curKey + ", value: " + jar.getManifest().getMainAttributes().get(curKey));
            } catch (Throwable t) {
                System.out.println("exception occured: " + t);
    }

  • Problem with jar file & loading manifest file

    Hi Friends
    i developing one application using java Swing
    i deploying the whole application using the jar Utility.
    but while installing & deploying this application on my machine & on the another machine error occured
    which showing that failed to load manifestfile from main module Or Main class.
    why this is happen? any other Java settings OR changing in java settings of the machine required while deploying this application on the other machine
    please guide me.

    Show the contents of the manifest file,
    and what command you used to run the program,
    and what directory you ran the command from.
    and what's the current classpath setting (if any).

  • "Could not find project's extension manifest file."

    I am trying to load the Illustrator SDK sample FreeGridUI.  In the documentation supplied by adobe, it says:
    1. In the IDE, choose File > Import > Flash Builder > Flash Builder Project.
    2. Select "Project folder" and browse to SDK_root\samplecode\FreeGridUI.
    3. Click Finish to import the project.
    4. Build the project.
    When I do that I get an error message that says:
    "Could not find project's extension manifest file. Make sure the manifest exists at .staged-extension/CSXS/manifest.xml."
    But as you can see from the attached screen shot, the manifest is in that exact location. 
    Also when I edit the manifest in the "bundle manifest editor" and then close the manifest tab, is asks me if I want to save the manifest.  When I choose yes and re-open the manifest... none of my changes have been saved.
    Anybody got any ideas?
    -Bill

    Okay,
       I feel stupid, but I also feel like adobe should feel stupid too.  Turns out I missed the "." at the beginning of the ".staged-extension" path.  But adobe put that folder in their sample without the "." in front.  So much for a "working sample."  Anyway, I dropped into terminal and did a "mv staged-exnestion .staged-extension" and now all is well.  Hope that helps someone.  Sorry for crying wolf.
    -Bill

  • Problem with manifest file and Plateau LMS

    I have published a course with a quiz in SCORM 1.2 and tried
    to upload to a Plateau LMS.
    It seems that a "page cannot be found" message is the result
    after upload and we try to launch the course. The course works
    outside the LMS (when run locally on my computer).
    The Plateau LMS support team tried to help, and found the
    following: "There is something wrong with this manifest, though I
    cannot ascertain what that is exactly. Most of the file name is in
    the parameter field, which is causing the launch path to look like
    this:
    /content/apmm/cbcgis/mars/BRTMAIN/MARS?BRT%20Maintenance%20Template_%2020080226.htm=
    Everything in the parameters field is placed after the
    filename in a URLencoded querystring after the question mark that
    you see above. it should look like this:
    /content/apmm/cbcgis/mars/BRTMAIN/MARS BRT Maintenance
    Template_ 20080226.htm"
    Can anyone please help resolve this, or have any advice?
    This is the first time we have tried uploading Captivate
    courses to this LMS, and we have been having problems with the
    manifest file in general. I have looked at all the material I can
    find on publishing and the manifest file, but cannot seem to
    resolve my issue.
    Thanks
    Warwick

    Warwick,
    I have had this error with an Authorware set of SCORM files
    when my LMS was looking for index.htm and I had named it index.html
    - you wouldn't think that would cause an error but it did. I would
    be more than happy to package a Captivate file of just a few
    screens that works on my LMS (which is Learn.com's Learning
    Center), and send you the SCORM files to test... That could be a
    start anyhow. I will send you a private msg. with my e-mail
    id.

  • Wildcards in ACNS 5 manifest files

    I am trying to write a manifest file for a ACNS V.5.0 system.
    The channel which is controlled by the manifest file should ideally:
    Copy a whole directory tree of an HTML web server on the root CE
    or at least
    copy one directory of an HTML web server on the root CE.
    The files on the HTML web server are NOT real HTML but mpeg video files.
    I found that using the scrawler method does not work, because it is not HTML and using wildcards in a single item line does not work either, because as soon as the wildcard matches more than one item, the system is unable to process that "multiple item". It does work if it matches only one.
    Is there anybody who knows how to achieve what I am trying to do?

    The following link might be of some help to you.
    http://www.cisco.com/univercd/cc/td/doc/product/webscale/uce/acns50/deploy50/50manfst.htm

  • Java Web Start and Manifest Files

    I am trying to read a manifest file that lives within a jar file that is deployed / downloaded using JWS.
    I have written some code that works out the JAR file path and then creates a new JAR file and reads the manifest entries from within it. This works when i test the JAR file locally howver when the application is downloaded using JWS And i run the same code I get a util.ZipException with it.
    Has anyone solved this problem?
    I use the standard getClass().getProtectionDomain().getDomain.GetLocation().toString() to get the URL that represents the JAR file where the Main method is executing and where the manifest file is located
    Above code may not be correct.
    Hope you can help

    I have solved it so for people wanting the solution
    String localFile = Main.class.getProtectionDomain().getCodeSource().getLocation().toString();
    localFile = localFile.concat("!/");
    String tmpString = "jar:";
    String localJarFileString = tmpString.concat(localFile);
    URL localJarFileURL = new URL(localJarFileString);
    JarURLConnection localJarFile = (JarURLConnection)localJarFileURL.openConnection();
    Manifest mf = localJarFile.getManifest();
    Attributes attr = mf.getMainAttributes();
    CREATED_BY = attr.getValue("Created-by");
    SOFTWARE_VERSION = attr.getValue(Attributes.Name.IMPLEMENTATION_VERSION);
    SOFTWARE_VENDOR = attr.getValue(Attributes.Name.IMPLEMENTATION_VENDOR);
    SOFTWARE_VENDOR_TITLE = attr.getValue(Attributes.Name.IMPLEMENTATION_TITLE);

  • Classpath in manifest file

    what is 'classpath' in manifest file used for?
    I tried to create classpath, but doesnt have any significant different....
    thanks
    YAn

    This is what the tutorial says about class-path in a manifest file:
    Download extensions are JAR files that are referenced by the manifest files of other JAR files. See the trail on the extension mechanism for information about extensions.
         In a typical situation, an applet will be bundled in a JAR file whose manifest references a JAR file (or several JAR files) that will serve as an extension for the purposes of that applet. Extensions
         may reference each other in the same way.
         Download extensions are specified in the Class-Path header field in the manifest file of an applet, application, or another extension. A Class-Path header might look like this, for example:
              Class-Path: servlet.jar infobus.jar acme/beans.jar
         With this header, the classes in the files servlet.jar, infobus.jar, and acme/beans.jar will serve as extensions for purposes of the applet or application. The URLs in the Class-Path
         header are given relative to the URL of the JAR file of the applet or application. For more details, see the link shown below:
    http://java.sun.com/docs/books/tutorial/jar/basics/manifest.html
    V.V.

Maybe you are looking for

  • HT4060 What charging adapter do i need for france / switzerland?

    I  live in Australia. I know my iPad charging adapter  will not work in France or Switzerland, but I am not sure which is the correct adapter to buy for use while on holiday in these countries?

  • Relink Errors during Clone in 8.0.6 Home

    Hi, Solaris SPARC 5.10 11.5.10.2 Running "perl adcfgclone.pl appsTier" I'm getting missing library errors on the link step when trying to create $ORACLE_HOME/lib/oracle. It looks just like the problem described in Note 370596.1, yet when I execute th

  • Mac Book Pro freezing

    Hi all. My 3 year old Mac Book Pro is starting to freeze on a daily basis. I have to hold the power button in and start all over agian on my projects. This is more of what I would expect from a windows machine. Can anyone help with advice on a fix fo

  • Weather is Wrong

    The weather icon that shows in the Notification Center is wrong, and I have no idea how to fix it. It shows a Sun icon, but it's actually raining here, plus the detailed hour-by-hour weather report shows that it's also raining. So, why is the sun ico

  • Delayed email using email printer (with PDF)

    My objective is to send emails using email's printer. Firstly, I had created one printer (EMAIL-PDF) at transaction SPAD, with:    Device Type : PDF1    Device Class: Standart Printer    Access Method: M As the node SMTP was already configurated at t