Configuring User Options in EPMOfficeClient.xml file

I'd like to have the User Options to default show the same as in the bullets below.
'Automatic Refresh on Context Changes' checked (<AutomaticRefresh>false</AutomaticRefresh>)
'Send Parent Data to the Server on 'Save Data'' unchecked (<SendDataOnNodes>False</SendDataOnNodes>
‘Comment Save – Empty Comment:equal to blank (<DefaultForEmptyComment></DefaultForEmptyComment>)
To do this I open the file EPMOfficeClient.xml with Notepad and make the changes, i.e. what is written in parenthesis in the bullets.
For the first two bullets the changes gets revoked to what it was originally, but for the last bullet it stays the way I’ve changed it when I reopen Excel
Any ideas to why this happens?
Kind regards, Martin.

Hi Svend,
Please share the xml file.
I am able to acheive the result by doing the above changes.
Thanks,
Dinesh.V
PS:<SendDataOnNodes>False</SendDataOnNodes 
replace with case sensitive  <SendDataOnNodes>false</SendDataOnNodes

Similar Messages

  • Please recommend if we have options to read xml file and insert data into table without a temporary table.

    Please recommend if we have options to read xml file and insert data into table without a temporary table. 

    DECLARE @data XML;
    SET @data =N'<Root>
    <List RecordID="946236" />
    <List RecordID="946237" />
    <List RecordID="946238" />
    <List RecordID="946239" />
    <List RecordID="946240" />
    </Root>'
    INSERT INTO t (id) SELECT T.customer.value('@RecordID', 'INT') AS id
    FROM @data.nodes('Root/List')
     AS T(customer);
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Options for large XML file - downloading from the app hangs browser

    I am using 5.6.3 in EBS.
    My users want to create files that can be uploaded into another system. The system will take XML files so my original idea was to create a data definition and have the user simply save the xml output (using View XML option). A .rtf template is also required for a pdf output - a summary of what was sent in the extract. This idea worked fine until I got a large file (37+ MB) and the View XML crashed my browser. Other than moving the files to a directory on the server that my user has access to, is there any other way to get at that raw XML?
    Updated:
    I have been doing some more reading and I am wondering if both an etext template and a pdf template would have been the better solution. This way I could submit once with the etext template and republish same data with the pdf template. Has anyone tried this successfully? I am not sure though that this would eliminate my problem with the large files (100,000+ records) crashing the browser. When you use an etext template, how do you get at that file? Is it using the 'View Output' button on Request Form or do I have the option to send it somewhere directly (i.e. server or email)?
    Any tips would be appreciated.
    Edited by: Tam_11 on Jan 14, 2011 1:38 PM

    Hi,
    using etext, the text output will still be in the usual directory at $APPLCSF/$APPLOUT.
    The text output will be smaller than the XML output so I'd be surprised if it still crashes your browser so you shouldn't need to get the XML.
    What format is needed for the target system?
    Cheers
    Kofi

  • Configuring Mysql database in EJB  xml file for JBoss

    I am using Mysql as database , How to configure JBoss to use Mysql as the database when using ejb's( session beans)
    My ejb-jar.xml is as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
         <description>no description</description>
         <display-name>LoginJAR</display-name>
         <enterprise-beans>
         <session>
         <description>no description</description>
         <display-name>loginEJB</display-name>
         <ejb-name>loginEJB</ejb-name>
         <home>com.rfp.Session.loginHome</home>
         <remote>com.rfp.Session.loginObject</remote>
         <ejb-class>com.rfp.Session.loginEJB</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>
         <resource-ref>
              <res-ref-name>jdbc/rfptrack</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
              <res-sharing-scope>Shareable</res-sharing-scope>
         </resource-ref>
         </session>
         </enterprise-beans>
         <assembly-descriptor>
              <container-transaction>
                   <method>
                   <ejb-name>loginEJB</ejb-name>
                   <method-intf>Remote</method-intf>
                   <method-name>*</method-name>
              </method>
              <trans-attribute>Required</trans-attribute>
         </container-transaction>
         </assembly-descriptor>
    </ejb-jar>
    1) My doubts are
    a). there is a username and password to access the database,
    I am mentioning only the database namein the xml file like-
    jdbc/rfptrack. So where should the username and password be
    mentioned or declared.
    b). The server showed the following error when it was started.
    Caused by: java.sql.SQLException: Table 'test.jms_messages' doesn't exist
    11:40:11,687 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3.2.3/server/default/deploy/Jlogs.ear
    Incompletely deployed packages:
    [org.jboss.deployment.DeploymentInfo@6522477c { url=file:/C:/jboss-3.2.3/server/default/deploy/Jlogs.ear }
    deployer: org.jboss.deployment.EARDeployer@1e940b
    status: Deployment FAILED reason: Verification of Enterprise Beans failed, see above for error messages.
    state: FAILED
    the server is showing that table "test:" does not exist but I am using rfptrack as the database and not test. how can I configure the server for it.
    PLEASE GO THROUGH THE EJB-JAR.XML FILE AND THE SERVER ERRORS GIVEN ABOVE AND GIVE SUGGESTIONS TO RECTIFY MY ERRORS.

    Hi Svend,
    Please share the xml file.
    I am able to acheive the result by doing the above changes.
    Thanks,
    Dinesh.V
    PS:<SendDataOnNodes>False</SendDataOnNodes 
    replace with case sensitive  <SendDataOnNodes>false</SendDataOnNodes

  • User Defined Extension functions XML file

    Hi,
    Can we define exception In custom XSLT function XML file.
    Like i have following Custom XSLT function XML-
    <?xml version="1.0" encoding="UTF-8"?>
    <extension-functions>
    <functions xmlns:uppercase="http://www.oracle.com/XSL/Transform/java/oracle.Uppercase">
    <function name="uppercase:GetName" as="string">
    <param name="fname" as="string"/>
    <param name="lname" as="string"/>
    </function>
    </functions>
    </extension-functions>
    So in case i need to throw an exception in my java function GetName so how can i define that in XML?
    Please give some suggestion?
    Thanks.

    Hi,
    Thanks for your reply. When I created extensions.xml (as advised by you) and tried specifying it as User Defined Extension Functions Config file, I get the following error:
    Invalid User Extension Functions Config File
    Invalid value 'object' for attribute:'as' line 5 column 52
    i.e. the following line:
    <function name="extensions:getMSPDate" as="object">
    Any pointers on what will be the correct value for attribute 'as' for element 'function'?
    Also, what is the default namespace being used in the extensions.xml?
    Is there a link for more documentation on the format for extensions.xml?

  • Saving user variable data in XML file

    I am using Captivate 5.5. Can I save user variable data of several variables on an XML file ?

    Can be done with Javascript, have a look at the Javascript articles by Jim Leichliter, here is one link:
    Retrieve variables in Captivate
    Lilybiri

  • How to read configuration data from an xml file (not web.xml)?

    Hi,
    I want to separate the application specific configuration parameters in a separate xml file and read them as and when they are needed? I know that I can use the wb.xml but I want to separate them in a different xml file because I don't want the web.xml file to be played around later after deployment. If any change is needed then it should be done in the application-config.xml.
    How can I read the parameters from this xml file in my jsp code and also what should be the location of this file if I have
    ../webapps/Root/application
    directoty structure ?
    Any help is greatly appreciated.

    can you give an example of a property file and also
    it is loaded in the jsp ?Hmm... loading properties in a JSP is not a very good idea. You should do it in a separate class, rather than mixing the logic with the display logic.
    Properties properties = new Properties();
    properties.load(UtilClass.class.getResourceAsStream("config.properties"));
    // Add a try - catch block around the load
    // for IOException...

  • ITunes xml file search/ access {on user's computer} ~ step 1

    Building a RichMediaAnnotaion (RMA) JukeBox.
    This will be hosted in a PDF.
    Tools: Flash CS5.5 & Acrobat X Pro
    The Juke Box will read the User's iTunes Library.xml file
    (once JavaScript affirms it is present, i.e. User uses iTunes).
    Of many steps, I am researching a JavaScript to locate (gain access) to
    said iTunes Library.xml files (both PC / MAC).
    In this file-search objective the four (4) locations are known; iTunes Library.xml (see below).
    Thanks in advance for your help...
    This is Step 1... the current goal;
    How to construct a full script to address all known locations (4).
    1) enable search when PDF page is entered
    2) search for the appropriate iTunes Library.xml file
    3) if found pass path to "JukeBox" script (in development, future Step)
    4) else... stop
    iTunes Library.xml locations;
    Mac OS X:     /Users/username/Music/iTunes/iTunes Library.xml
    Windows XP     \Documents and Settings\username\My Documents\My Music\iTunes\iTunes Library.xml
    Windows Vista     \Users\username\Music\iTunes\iTunes Library.xml
    Windows 7     \Users\username\Music\iTunes\iTunes Library.xml
    That is the current task at hand......
    Thanks for your feedback!
    ~ ~
    As a reference, further researching Steps are noted below:
    display Artist list
              drill down to said Artist songs
    Display Album Artwork / when available, else JukeBox images.png(s)
    Play music
    Any an All insight is greatly appreciated.
    D~

    JavaScript embedded in a PDF cannot read arbitrary files from a local hard drive, neither can a SWF.

  • Error while retreiving xml file from database

    Hi-
    I am trying to configure Planning and getting the following error message at instance configuration step:
    "Error while retreiving xml file from database"
    We looked at PlanningSystemDB.properties, changes server name to its ip, reinstalled planning, made sure both auth methods are selected (sql server and windows), created new relational repository.. still the same error.
    Here is the contents of the configtool error file:
    (Dec 11, 2008, 04:36:44 PM), com.hyperion.planning.PIRegistrationPanelManager, ERROR, Exception :Error while retreiving xml file from database.
    (Dec 11, 2008, 04:37:09 PM), com.hyperion.planning.PIRegistrationPanelManager, ERROR, Exception :Error while retreiving xml file from database.
    (Dec 11, 2008, 04:38:41 PM), com.hyperion.planning.PIRegistrationPanelManager, ERROR, Exception :Error while retreiving xml file from database.
    (Dec 11, 2008, 04:39:07 PM), com.hyperion.planning.PIRegistrationPanelManager, ERROR, Exception :Error while retreiving xml file from database.
    (Dec 11, 2008, 04:39:12 PM), com.hyperion.planning.PIRegistrationPanelManager, ERROR, Exception :Error while retreiving xml file from database.
    (Dec 11, 2008, 04:39:22 PM), com.hyperion.planning.PIRegistrationPanelManager, ERROR, Exception :Error while retreiving xml file from database.
    (Dec 11, 2008, 04:40:46 PM), com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to authenticate user = admin
    (Dec 11, 2008, 04:41:05 PM), com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to authenticate user = admin
    (Dec 11, 2008, 04:48:28 PM), com.hyperion.cis.DBConfigurator, ERROR, Invalid SQL statement: begin transaction IF EXISTS (select * from sysobjects where id = object_id(N'[HSPSYS_PROPERTIES]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) DROP TABLE HSPSYS_PROPERTIES IF EXISTS (select * from sysobjects where id = object_id(N'[HSPSYS_APP_CLUSTER_DTL]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) DROP TABLE HSPSYS_APP_CLUSTER_DTL IF EXISTS (select * from sysobjects where id = object_id(N'[HSPSYS_APPLICATION]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) DROP TABLE HSPSYS_APPLICATION IF EXISTS (select * from sysobjects where id = object_id(N'[HSPSYS_DATASOURCE]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) DROP TABLE HSPSYS_DATASOURCE IF EXISTS (select * from sysobjects where id = object_id(N'[HSPSYS_CLUSTER]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) DROP TABLE HSPSYS_CLUSTER IF EXISTS (select * from sysobjects where id = object_id(N'[HSP_ACTION]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) DROP TABLE HSP_ACTION IF EXISTS (select * from sysobjects where id = object_id(N'[HSPSYS_PI_INFO]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) DROP TABLE HSPSYS_PI_INFO commit begin transaction CREATE TABLE HSP_ACTION ( ID INTEGER NOT NULL IDENTITY, CONSTRAINT PK_HSP_ACTION PRIMARY KEY(ID) , FROM_ID INTEGER, TO_ID INTEGER, ACTION_ID INTEGER, OBJECT_TYPE INTEGER, PRIMARY_KEY VARCHAR(255), ACTION_TIME DATETIME ); CREATE TABLE HSPSYS_CLUSTER ( CLUSTER_ID INTEGER NOT NULL, NAME VARCHAR(255) NOT NULL, DESCRIPTION VARCHAR(255), CONSTRAINT PK_HSPCLUSTER PRIMARY KEY(CLUSTER_ID) ); CREATE TABLE HSPSYS_DATASOURCE ( DATASOURCE_ID INTEGER NOT NULL, NAME VARCHAR(255) NOT NULL, DESCRIPTION VARCHAR(255), APP_ID INTEGER, RDB_SERVER_URL VARCHAR(255), RDB_TYPE VARCHAR(255) NOT NULL, RDB_CATALOG_NAME VARCHAR(255) NOT NULL, RDB_USER VARCHAR(255) NOT NULL, RDB_PASSWORD VARCHAR(255), RDB_DRIVER VARCHAR(255) NOT NULL, ESS_SERVER VARCHAR(255) NOT NULL, ESS_USER VARCHAR(255) NOT NULL, ESS_PASSWORD VARCHAR(255), CONSTRAINT PK_HSPDTASRC PRIMARY KEY(DATASOURCE_ID) ); CREATE TABLE HSPSYS_APPLICATION ( APP_ID INTEGER NOT NULL, NAME VARCHAR(255) NOT NULL, DESCRIPTION VARCHAR(255), DATASOURCE_ID INTEGER NOT NULL, CONSTRAINT FK_HSPAPP_DSID FOREIGN KEY(DATASOURCE_ID) REFERENCES HSPSYS_DATASOURCE, VERSION VARCHAR(255) NOT NULL, CONSTRAINT PK_HSPAPP PRIMARY KEY(APP_ID) ); CREATE TABLE HSPSYS_APP_CLUSTER_DTL ( APP_ID INTEGER NOT NULL , CONSTRAINT FK_HSP_APP_ID FOREIGN KEY (APP_ID) REFERENCES HSPSYS_APPLICATION , CLUSTER_ID INTEGER NOT NULL, CONSTRAINT FK_HSPCS_CLID FOREIGN KEY(CLUSTER_ID) REFERENCES HSPSYS_CLUSTER, CONSTRAINT PK_APP_CLSTR_DTL PRIMARY KEY(CLUSTER_ID, APP_ID) ); CREATE TABLE HSPSYS_PROPERTIES ( PROPERTY_ID INTEGER NOT NULL, OBJECT_ID INTEGER NOT NULL, PROPERTY_NAME VARCHAR(255) NOT NULL, PROPERTY_VALUE VARCHAR(255), CONSTRAINT PK_HSPPROP PRIMARY KEY(PROPERTY_ID, OBJECT_ID, PROPERTY_NAME) ); CREATE TABLE HSPSYS_PI_INFO ( XML_FILE NTEXT NOT NULL ); commit
    (Dec 11, 2008, 04:50:32 PM), com.hyperion.planning.PIRegistrationPanelManager, ERROR, Exception :Error while retreiving xml file from database.
    Thanks for any help.

    After spending 2+ hrs with Hyperion Support nothing got resolved.. Just to give more background on this problem, we originally reconfigured all Hyperion components to use different SQL server, that is when the problem started happening as soon as we got to Planning Instance Configuration. Could this be the situations when old server name is still somewhere in the system?.. Could this be Shared Services problem.
    Here is another quote from SharedServices_Security.log
    2008-12-12 15:08:48,249 [http-58080-Processor1] WARN com.hyperion.css.spi.impl.nv.NativeProvider.getHierarchicalRoleTree(Unknown Source) - Exception getting Child Roles in hierarchy due to Illegal or invalid id.dflt passed in. Please check the argument.
    2008-12-12 15:31:18,121 [main] WARN com.hyperion.css.common.configuration.CSSConfigurationImplXML.<init>(Unknown Source) - Skipping the validation of the configuration because the required validating parser library not found or errors in validation. This does not guarantee the proper initialization of the component.
    2008-12-12 15:31:29,808 [Thread-8] WARN com.hyperion.css.spi.impl.msad.MSADCacheUpdater.resolveCircularDependency(Unknown Source) - INFO: Time to resolve circular dependency on the Cache for provider: DIPORTAL is : 0
    2008-12-12 15:31:29,808 [Thread-8] WARN com.hyperion.css.spi.impl.msad.MSADCacheUpdater.refreshProviderCache(Unknown Source) - INFO: Time to build Cache for provider: DIPORTAL in millis is : 1016
    2008-12-12 15:31:30,823 [main] WARN com.hyperion.css.CSSAPIImpl.initialize(Unknown Source) - The system has already been configured; skipping attempt to configure the system again with the new config file /F:/Hyperion/deployments/Tomcat5/SharedServices9/config/CSS.xml.
    2008-12-12 15:31:41,229 [http-58080-Processor4] ERROR com.hyperion.css.CSSAPIImpl.initialize(Unknown Source) - Unable to get CSS.xml file or the file may be read only
    2008-12-12 15:31:41,229 [http-58080-Processor4] WARN com.hyperion.css.CSSAPIImpl.initialize(Unknown Source) - The system has already been configured; skipping attempt to configure the system again with the new config file /null.
    2008-12-12 15:38:01,938 [main] WARN com.hyperion.css.common.configuration.CSSConfigurationImplXML.<init>(Unknown Source) - Skipping the validation of the configuration because the required validating parser library not found or errors in validation. This does not guarantee the proper initialization of the component.
    2008-12-12 15:38:13,454 [Thread-8] WARN com.hyperion.css.spi.impl.msad.MSADCacheUpdater.resolveCircularDependency(Unknown Source) - INFO: Time to resolve circular dependency on the Cache for provider: DIPORTAL is : 0
    2008-12-12 15:38:13,454 [Thread-8] WARN com.hyperion.css.spi.impl.msad.MSADCacheUpdater.refreshProviderCache(Unknown Source) - INFO: Time to build Cache for provider: DIPORTAL in millis is : 813
    2008-12-12 15:38:35,453 [main] WARN com.hyperion.css.CSSAPIImpl.initialize(Unknown Source) - The system has already been configured; skipping attempt to configure the system again with the new config file /F:/Hyperion/deployments/Tomcat5/SharedServices9/config/CSS.xml.
    2008-12-12 15:42:09,776 [http-58080-Processor3] ERROR com.hyperion.css.CSSAPIImpl.initialize(Unknown Source) - Unable to get CSS.xml file or the file may be read only
    2008-12-12 15:42:09,776 [http-58080-Processor3] WARN com.hyperion.css.CSSAPIImpl.initialize(Unknown Source) - The system has already been configured; skipping attempt to configure the system again with the new config file /null.
    2008-12-12 15:42:09,776 [http-58080-Processor2] ERROR com.hyperion.css.CSSAPIImpl.initialize(Unknown Source) - Unable to get CSS.xml file or the file may be read only
    2008-12-12 15:42:09,776 [http-58080-Processor2] WARN com.hyperion.css.CSSAPIImpl.initialize(Unknown Source) - The system has already been configured; skipping attempt to configure the system again with the new config file /null.

  • Setting ProGuard options in build.xml (SOLVED)

    Hi guys,
    I'm trying to obfuscate my MIDlet so I can use BCrypt and the bouncy castle library. I'm getting the following error and I see that I need to add '-dontskipnonpubliclibraryclasses' and/or '-dontskipnonpubliclibraryclassmembers'. I've read ProGuard's instructions on adding options to an xml file but they are incompatible with Netbeans 6.8's build.xml. How can I set these two options for ProGuard through my build.xml file? I've included the obfuscation related part of my build-imp.xml.
    NetBeans Output:
    Building jar: C:\Users\Vladimir\Documents\NetBeansProjects\SecureIM_MIDP\build\before-obfuscation.jar
    ProGuard, version 4.4
    Reading program jar [C:\Users\Vladimir\Documents\NetBeansProjects\SecureIM_MIDP\build\before-obfuscation.jar]
    Reading library jar [C:\Java_ME_platform_SDK_3.0\lib\midp_2.0.jar]
    Reading library jar [C:\Java_ME_platform_SDK_3.0\lib\cldc_1.1.jar]
    Note: duplicate definition of library class [java.io.ByteArrayOutputStream]
    Note: there were 1 duplicate class definitions.
    Warning: shared.BCrypt: can't find referenced method 'java.lang.Object clone()' in class java.lang.Object
    Warning: there were 1 unresolved references to program class members.
             Your input classes appear to be inconsistent.
             You may need to recompile them and try again.
             Alternatively, you may have to specify the options
             '-dontskipnonpubliclibraryclasses' and/or
             '-dontskipnonpubliclibraryclassmembers'.
    Error: Please correct the above warnings first.
    C:\Users\Vladimir\Documents\NetBeansProjects\SecureIM_MIDP\build.xml:94: Obfuscation failed with error code 1.
    BUILD FAILED (total time: 13 seconds)build-imp.xml's obfuscation:
    <!--proguard-->
        <target name="proguard-init" description="Up-to-date check before obfuscation.">
            <property name="obfuscation.level" value="0"/>
            <condition property="no.obfusc">
                <or>
                    <equals arg1="${obfuscation.level}" arg2="0"/>
                    <uptodate targetfile="${obfuscator.destjar}">
                        <srcfiles dir="${buildsystem.baton}"/>
                    </uptodate>
                </or>
            </condition>
            <uptodate property="obfuscation.up-to-date" targetfile="${obfuscator.destjar}">
                <srcfiles dir="${buildsystem.baton}"/>
            </uptodate>
        </target>
        <target name="skip-obfuscation" depends="proguard-init" if="obfuscation.up-to-date">
            <fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>
            <nb-overrideproperty name="buildsystem.baton" value="${obfuscated.classes.dir}"/>
        </target>
        <target name="proguard" depends="skip-obfuscation" description="Obfuscate project classes." unless="no.obfusc">
            <fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>
            <fail unless="obfuscator.srcjar">Must set obfuscator.srcjar</fail>
            <fail unless="obfuscator.destjar">Must set obfuscator.destjar</fail>
            <property name="obfuscator.classpath" value=""/>
            <dirname file="${obfuscator.srcjar}" property="obfuscator.srcjar.dir"/>
            <dirname file="${obfuscator.destjar}" property="obfuscator.destjar.dir"/>
            <mkdir dir="${obfuscator.srcjar.dir}"/>
            <mkdir dir="${obfuscator.destjar.dir}"/>
            <jar jarfile="${obfuscator.srcjar}" basedir="${buildsystem.baton}"/>
            <property name="obfuscation.custom" value=""/>
            <nb-obfuscate srcjar="${obfuscator.srcjar}" destjar="${obfuscator.destjar}" obfuscatorclasspath="${obfuscator.classpath}" classpath="${platform.bootclasspath}:${extra.classpath}" obfuscationLevel="${obfuscation.level}" extraScript="${obfuscation.custom}"/>
            <mkdir dir="${obfuscated.classes.dir}"/>
            <unjar src="${obfuscator.destjar}" dest="${obfuscated.classes.dir}"/>
            <nb-overrideproperty name="buildsystem.baton" value="${obfuscated.classes.dir}"/>
        </target>
        <!--obfuscate-->
        <target name="pre-obfuscate"/>
        <target name="post-obfuscate"/>
        <target name="obfuscate" depends="compile,pre-obfuscate,proguard,post-obfuscate" description="Obfuscate project classes."/>Thanks guys,
    jangozo
    Edited by: jangozo on Jan 24, 2010 1:55 PM
    I just got rid of the BCrypt file.

    I ran into this same problem when using ProGuard 4.1 for Java obfuscation. The problem is that there is a space in the path to your JDK/JRE, for example: c:\Program Files\Java\jdk1.6.0_03. Because there is a space before the word "Files", it isn't working. The solution to to wrap quotes around that particular command-line argument. In ANT, I needed to use single-quotes (because double-quotes were already in use for the XML attribute) such as:
    <java jar="proguard.jar" fork="true" timeout="30000">
    <arg value="-libraryjars"/>
    <arg value="'${java.home}/lib/rt.jar'"/> <!-- Notice both double and single quotes used on this line. -->
    ...rest of the arguments go here...
    </java>
    Alternatively, using ProGuard's custom ANT Task, it would look something like (notice the use of double-quotes around the rt.jar location):
    <proguard>
    -libraryjars "${java.home}/lib/rt.jar"
    ...rest of the arguments go here...
    </proguard>
    Anyways, I hope this helps you or anyone else who runs into the same problem. Both of these approaches have worked for me.

  • Using "Save As" execCommand in IE8 to save XML file in ANSI format instead of UCS2-Little Endian

    I am currently trying to save an XML data using "SaveAs" execCommand  from Javascript in Internet Explorer 8 only.I am using document.write(xml) to write the xml content after i open a window.The document object in IE8 uses a saveAs Exec
    Command to allow the user to save the xml file in the local folder.The XML file is generated but it doesnt set the encoding to my preferred type  for a different interface where i need to send this XML which is ANSI/UTF-8   encoding.I can only save
    the XML in UCS2 little Endian encoding format.Below is the code i am using.
         var location = "D:\\export_to_MCT"+dateTime+".xml";
            var xml = tmpSelectedConfigurationXML.transformNode(xslDoc);// XML Is generated here
           alert(xml);
             **var testlink = window.open  ("about:blank","_blank","toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,left=10000, top=10000, width=10, height=10, visible=none");
             testlink.document.write(xml); //fileData has contents for the file
        testlink.document.close();
        testlink.document.execCommand('SaveAs', false, location);**
        testlink.close();
    My purpose is to save the xml  in ANSI/UTF-8 encoding without BOM format.I cant use Scripting.FileSystemObject method of ActiveX object.Please suggest

    @panda Boy--
    But my intention isnt that .I need to download the xml in ANSI format

  • Load XML file from different location?

    Hi All,
    I've been going through an exercise by Karl Matthews to load XML data into an AIR App:
    http://www.adobe.com/devnet/air/flex/articles/xml_viewer_on_air.html
    but I would like to change where the XML file used in the project is retrieved from.
    Currently the XML file is loaded from here:
    <!-- Set up the HTTP service from where we get the source XML data -->
    <mx:HTTPService id="srcData" url="
    assets/UserGuide.xml" result="loadModelData(event)"
    />
    but I would like to load the XML file from one of these locations instead:
    File.userDirectory:
    File.documentsDirectory:
    Can someone please show me how I should change the above code to accomplish this, as my efforts to date have not been successful :-(
    I am using Flex Builder 3 and Air 1.5.
    Thanks heaps!
    Tim

    Hi Bhasker,
    Thank you for replying.
    I am not very good at all this coding, but I am assuming I should now be doing entering the following:
    =======================
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"width="
    800" height="660"xmlns:comp="
    *" xmlns:fmtComp="fmtComps.*"creationComplete="srcData.send()"
    paddingLeft="
    0" paddingRight="0" paddingTop="0" paddingBottom="0">
    <mx:Script>
    <![CDATA[
    import mx.utils.ObjectProxy; 
    import mx.rpc.events.ResultEvent; 
    Bindable] 
    private var userManualObj:ObjectProxy; 
    private function loadModelData(event:ResultEvent):void
    userManualObj=event.result.UserManual;
    private function readXMLContent(xmlFile:File,objContentView:Object):Array{
    var reportDir:File = File.userDirectory.resolvePath("assets"); 
    var xmlFile:File; 
    var fileStream:FileStream = new FileStream(); xmlFile = reportDir.resolvePath(
    "UserGuide.xml"); 
    if(xmlFile.exists && xmlFile.size > 0)// Checking if the impressions.xml file already exists and the file is not empty
    var stream:FileStream = new FileStream(); 
    var xml:XML = new XML();stream.open(xmlFile, FileMode.READ);
    xml = XML(stream.readUTFBytes(stream.bytesAvailable));
    stream.close();
    ]]>
    </mx:Script>
    <!-- Set up the HTTP service from where we get the source XML data<mx:HTTPService id="srcData"
    url="assets/UserGuide.xml"
    result="loadModelData(event)"/> -->
    <mx:VBox width="100%" horizontalAlign="left" height="100%" paddingBottom="
    0" paddingLeft="0" paddingRight="0" paddingTop="0">
    <mx:TabNavigator width="100%" height="100%"paddingBottom="
    0" paddingLeft="0" paddingRight="0" paddingTop="0">
    <mx:Repeater id="modelsRep" dataProvider="{userManualObj.Product.Model}">
    <mx:VBox label="{modelsRep.currentItem.Name}" width="100%" height="100%">
    <comp:ModelDesc model="{modelsRep.currentItem}"/>  
    </mx:VBox>
    </mx:Repeater>
    <mx:VBox label="Troubleshooting" width="100%" height="100%"paddingBottom="
    0" paddingLeft="0" paddingRight="0" paddingTop="0">
    <comp:Troubleshooting issues="{userManualObj.Product.Troubleshooting.Issue}" />
    </mx:VBox>
    </mx:TabNavigator>
    </mx:VBox></mx:WindowedApplication>
    =======================
    and create and "assets" folder in my user directory placing the XML file in there?
    However when I do all that, I get this error when I try to compile:
      Encountered errors or warnings while building project main.mxml.
        main.mxml: Function does not return a value.
    Any thoughts?
    Many thanks,
    Tim

  • Loading XML file for parsing

    Folks,
    I have placed one xxx.XML file under /WEB-INF/ of my application server and i have configured a servlet in web.xml file to execute during server startup like below
    <servlet>
    <servlet-name>MonitorInitServlet</servlet-name>
    <servlet-class>com.xxx.xxx..services.MonitorInitServlet</servlet-class>
    <init-param>
    <param-name>configFile</param-name>
    <param-value>/WEB-INF/portalMonitorConfig.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    And the above servlet loads portalMonitorConfig.xml file and i have below code
    InputStream inputStream = xxx.class.getResourceAsStream("/WEB-INF/portalMonitorConfirg.xml");
    private static Document parseXmlFile(InputStream xml) throws SAXException, IOException,
    ParserConfigurationException
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    factory.setValidating(false);
    return factory.newDocumentBuilder().parse(xml);
    So when i do the above , i get
    java.lang.IllegalArgumentException :InputStream cannot be null,
    I know its sending a null InputStream, By the way i need to know what is the issue in the above code when i create InputStream object
    InputStream inputStream = xxx.class.getResourceAsStream("/WEB-INF/portalMonitorConfig.xml");
    Any help with the code is really appreciated

    when serializing the DOM, use this: transformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, scrReg.dtd");
    Merry Chrasmas too ;-)

  • Storing users workspace information in XML

    Hi,
    I have to store users workspace information in XML file so that user can retreive it later. The information that needed to be stored can be any thing. This XML file will be stores in oracle back end.
    Well i am not totally well aware of XML advantages and how well we can use it.
    If any one who is is well aware of XML can provide me some information that will help in understanding it better like any related site, white papers etc.
    For more clarification about the information that needed to be stores can be like,
    1. Customization of Menu
    2. Customization of ToolBar
    3. Child windows opened
    4. Which window is currently loaded
    etc
    Also i need a generic way to manuplating my code so that i wont have to make major changes during the process.
    Thanks in advance.

    you might be better asking this in the XML forum.
    What will probably happen is that the XML structure is your template eg
    Store1 xml
    <menu> store1 menu</menu>
    Store2 xml
    <menu>store2 menu</menu>
    From your xml dtd you can derive what is needed to create a Java model which you will have to populate with the values of the XML tags.
    Then your gui will reflect any changes made in the model
    If you do a search on sun for XML there is a tutorial which may be of use. Also depending how big your project is you may wish to look at JAXB

  • Could xml files be displayed in a more readable / structured way?

    Within a software test environment, xml files have to be checked on their content. When using the "View Page Source" the xml file is displayed as it is.
    It would be very helpful if Firefox would have an option to display xml files in a more structured way to make then more readable.
    This will save a lot of time, because now the file should first be downloaded and opened in another application.

    Hi Atul,
    The standard DMS system does not offer this feature!!
    However,there are a couple of options you may explore.
    - In SE38,run report DMS_KPRO_READ to retrieve the original file names of a DIR.
    - Alternatively,you may also implement SAP Note 1015165 to display file names of a DIR.
    Hope this helps.
    Regards,
    Pradeepkumar Haragoldavar

Maybe you are looking for

  • Memory on computer??

    How can i find out or look up how much memory is used and how much memory I have left on my MacBook Pro computer?? And if, I am running low on memory on my computer how can I improve that?? Do I need to delete a few things?? check for viruses??? ect.

  • Mouse Over Format Control for Series

    I have a combination chart and would like to display the column portion with no digits after the decimal.  I would like to display the line portion with 1 digit after the decimal. Will Xcelsius allow individual formatting of series or only global for

  • Painting in a thread without offscreen image

    I'm trying to develop a good map viewer with java. Now, painting a map can be a very long task, and the requirements for a good map viewer should be: * the user can see progress, that is, the map is painted incrementally on the screen, not offscreen,

  • Pre ordering iphone with other lines upgrade

    How would I go about pre ordering the iPhone 4s using another lines upgrade on my plan? Would I be forced to activate in store when the phone arrives? Basically what I mean, is if I pre-order at Apple.com (there is a form you fill out which takes you

  • How to input hex colors in Indesign

    How do you make hex colors in Indesign CC? I cant seem to find that opti