Run emigall with a "mig.object" and "input file" as parameters in a job?

Hi!
I'm looking for a way to run emigall with a "mig.object" and "input file" as parameters in a job. We will use emigall in a data load step of a process. Is this possible? Is emaigall designed for this use?
Thanks for any help and suggestions.
Best regards.

Hi!
I'm looking for a way to run emigall with a "mig.object" and "input file" as parameters in a job. We will use emigall in a data load step of a process. Is this possible? Is emaigall designed for this use?
Thanks for any help and suggestions.
Best regards.

Similar Messages

  • Clone schema with current db objects and data.

    Hi Cloud expert,
    I need feature to clone existing schema and create new schema with schema as a service. I created profile that export schema with database objects and data. I created template that use the profile created. While provisioning the template I found all the database objects with template. Now I need a solution to clone the current schema with all the objects at current time. The way I tried contains all the objects that were exists while exporting the schema. I need the solution to clone schema so that it will contains all the objects and data right now.
    While reading document I found snapclone but that is not the exactly the solution I need. I simply need to clone schema with latest db object and data with Self Service portal.
    Thank You in advance.
    Dilli R. Maharjan

    One option is to run BACKUP/RESTORE, once you have restored you run:
    SELECT 'ALTER TABLE ' + quotename(s.name) + '.' + quotename(o.name) +
           ' DISABLE TRIGGER ALL '
    FROM   sys.schemas s
    JOIN   sys.objects o ON o.schema_id = s.schema_id
    WHERE  o.type = 'U'
      AND  EXISTS (SELECT *
                   FROM   sys.triggers tr
                   WHERE  tr.parent_id = o.object_id)
    Copy result and paste into a query window do to run. Next:
    SELECT 'DELETE ' + quotename(s.name) + '.' + quotename(o.name)
    FROM   sys.schemas s
    JOIN   sys.objects o ON o.schema_id = s.schema_id
    WHERE  o.type = 'U'
    Run this result until you don't get any more errors.
    Run the first query again, but change DISABLE to ENABLE.
    This is more long-winding than scripting, particularly if you have lots of data. But you know that you will not make any changes whatsoever to the schema.
    The scripting in SSMS generally does it right, I believe, but some items are not scripted by default. If you run BACKUP/RESTORE, you know that you get a faithful copy.
    Of course, the best way is to keep your code under version control and take the version control system as your ultimate truth.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Property List error: Unexpected character b at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.

    Hi,
    I have a MBP 13' Late 2011 and Yosemite 10.10.2 (14C1514).
    Until yesterday, I was using Garmin ConnectIQ SDK and all was working fine.
    Yesterday, I've updated my system with latest security updates and Xcode updates too (Version 6.2 (6C131e)).
    Since, I can't launch the ConnectIQ simulator app, I have this message in console :
    8/04/2015 15:19:04,103 mds[38]: There was an error parsing the Info.plist for the bundle at URL Info.plist -- file:///Volumes/Leto/connectiq-sdk-mac-1.1.0_2/ios/ConnectIQ.bundle/
    The data couldn’t be read because it isn’t in the correct format.
    <CFBasicHash 0x7fa64f44e9a0 [0x7fff7dfc7cf0]>{type = immutable dict, count = 2,
    entries =>
      0 : <CFString 0x7fff7df92580 [0x7fff7dfc7cf0]>{contents = "NSDebugDescription"} = <CFString 0x7fa64f44f0a0 [0x7fff7dfc7cf0]>{contents = "Unexpected character b at line 1"}
      1 : <CFString 0x7fff7df9f5e0 [0x7fff7dfc7cf0]>{contents = "kCFPropertyListOldStyleParsingError"} = Error Domain=NSCocoaErrorDomain Code=3840 "The data couldn’t be read because it isn’t in the correct format." (Conversion of string failed.) UserInfo=0x7fa64f44eda0 {NSDebugDescription=Conversion of string failed.}
    I have looked at this file and it looks like a binary plist
    bplist00ß^P^V^A^B^C^D^E^F^G^H
    ^K^L^M^N^O^P^Q^R^S^T^U^V^W^X^Y^Z^[^\^]^^^_ !"$%&'()'+,^[\CFBundleNameWDTXcodeYDTSDKName_^P^XNSHumanReadableCopyrightZDTSDKBuild_^P^YCFBundleDevelopmentRegion_^P^OCFBundleVersi    on_^P^SBuildMachineOSBuild^DTPlatformName_^P^SCFBundlePackageType_^P^ZCFBundleShortVersionString_^P^ZCFBundleSupportedPlatforms_^P^]CFBundleInfoDictionaryVersion_^P^RCFBundleE    xecutableZDTCompiler_^P^PMinimumOSVersion_^P^RCFBundleIdentifier^UIDeviceFamily_^P^QDTPlatformVersion\DTXcodeBuild_^P^QCFBundleSignature_^P^ODTPlatformBuildYConnectIQT0611[iph    oneos8.1o^P-^@C^@o^@p^@y^@r^@i^@g^@h^@t^@ ^@©^@ ^@2^@0^@1^@5^@ ^@G^@a^@r^@m^@i^@n^@.^@ ^@A^@l^@l^@ ^@r^@i^@g^@h^@t^@s^@ ^@r^@e^@s^@e^@r^@v^@e^@d^@.V12B411RenQ1V14C109Xiphoneos    TBNDLS1.0¡#XiPhoneOSS6.0YConnectIQ_^P"com.apple.compilers.llvm.clang.1_0S8.1_^P^Tcom.garmin.ConnectIQ¡*^P^AW6A2008aT????^@^H^@7^@D^@L^@V^@q^@|^@<98>^@ª^@À^@Ï^@å^A^B^A^_^A?^AT^    A_^Ar^A<87>^A<96>^Aª^A·^AË^AÝ^Aç^Aì^Aø^BU^B\^B_^Ba^Bh^Bq^Bv^Bz^B|^B<85>^B<89>^B<93>^B¸^B¼^BÓ^BÕ^B×^Bß^@^@^@^@^@^@^B^A^@^@^@^@^@^@^@-^@^@^@^@^@^@^@^@^@^@^@^@^@^@^Bä
    I guess it is a normal format but my system seems to be unable to read binary plist ?
    I tried some stuff with plutil
    plutil -lint Info.plist
    Info.plist: Unexpected character b at line 1
    Same for convert
    plutil -convert xml1 Info.plist
    Info.plist: Property List error: Unexpected character b at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.
    I also try to download a fresh version of the connectIQ SDK and no changes.
    Any idea ?
    Thanks

    Step by step, how did you arrive at seeing this agreement?

  • What type of movie clips are handled by the ipad? I have shot a movie clip with my canon camera and the file is .AVI.  will this load onto ipad?

    what type of movie clips are handled by the ipad? I have shot a movie clip with my canon camera and the file is .AVI.  will this load onto ipad?

    Per http://www.apple.com/ipad/specs/
    AirPlay Mirroring to Apple TV (2nd and 3rd generation) at 720p
    AirPlay video streaming to Apple TV (3rd generation) at up to 1080p and Apple TV (2nd generation) at up to 720p
    Video mirroring and video out support: Up to 1080p with Apple Digital AV Adapter or Apple VGA Adapter (adapters sold separately)
    Video out support at 576i and 480i with Apple Composite AV Cable (cable sold separately)
    Video formats supported: H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format

  • Invoking a AXIS Web Service with a Java object as input argument

    Hi
    I've been trying to execute a bpel process that invokes a web service deployed through axis.
    This web service takes a java object as input argument as opposed to data types that are directly mapped to java types through the SOAP engine.
    I deployed and tested the service outside of BPEL using a test client class. Everything works well.
    When I try to configure the "Assign" and "Invoke" activities so that service can be invoked, I cannot see the data structure through the variable picker and I see the following message:
    "The element {urn:ComplexTypeWebService}TimeSheetBean is not know to the schema container. Perhaps a schema file that uses it needs to include or import its definition.There mat also be an XML schema issue (non resolvable schema) which prevents {urn:ComplexTypeWebService}TimeSheetBean from being seen by the schema processor."
    Is there any example that demonstrates how to invoke an axis web service in such scenario? What am I doing wrong?
    Please, let me know.

    The passing of Java objects in and out of a web service is NOT supported. variables must be xml documents defined by a XML schema. In my opinion, missing Java object and WSDL is not a good idea. -Edwin

  • How to copy a database with all the objects and relationship but with no data

    Hello Experts
    I am here for your advise as usual, I  want to create a copy of my current database from an existing one on SQL Server 2008r2 Standard Edition, here is what I need, I want all the objects including any relationship between the objects and I do
    not need any data. I have some idea for using the general script in SSMS, but I still need you expertise advise please, thank you kindly for your help.
    Regards

    One option is to run BACKUP/RESTORE, once you have restored you run:
    SELECT 'ALTER TABLE ' + quotename(s.name) + '.' + quotename(o.name) +
           ' DISABLE TRIGGER ALL '
    FROM   sys.schemas s
    JOIN   sys.objects o ON o.schema_id = s.schema_id
    WHERE  o.type = 'U'
      AND  EXISTS (SELECT *
                   FROM   sys.triggers tr
                   WHERE  tr.parent_id = o.object_id)
    Copy result and paste into a query window do to run. Next:
    SELECT 'DELETE ' + quotename(s.name) + '.' + quotename(o.name)
    FROM   sys.schemas s
    JOIN   sys.objects o ON o.schema_id = s.schema_id
    WHERE  o.type = 'U'
    Run this result until you don't get any more errors.
    Run the first query again, but change DISABLE to ENABLE.
    This is more long-winding than scripting, particularly if you have lots of data. But you know that you will not make any changes whatsoever to the schema.
    The scripting in SSMS generally does it right, I believe, but some items are not scripted by default. If you run BACKUP/RESTORE, you know that you get a faithful copy.
    Of course, the best way is to keep your code under version control and take the version control system as your ultimate truth.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Running Unity with both Exchange 2003 and 2010?

    My company is planning to upgrade from Exchange 2003 to 2010.  We are
    currently using Unity 7.0.  We'd like to run the two in parrallel for a bit and take our time switching users over.
    Now I've read that Unity can support Exchange 2010, but I haven't found anything about running Unity using both Exchange 2003 and 2010 in parrallel.
    Is this something Unity can handle?

    We're doing something similar, but we have an in-place Unity 7 and Exchange 2003 environment; we are putting some users from an org we support on an Exchange 2010 server, but do not want that to be the partner server (yet).  The instructions seem to point you to making 2010 the partner; I'm wondering why Step 13 (of your link) we are uninstalling the Exchange Server 2003 System Management Tools, if it’s a mixed environment and 2003 will still be the partner server.  I also saw somewhere that you don’t have to move the unitymsgstoresvc account to Exchange 2010 if you are in a mixed environment.  Is that true?  Thank you.

  • Problems with I/O object to a File

    First of all, hi to everybody, sorry for my English.
    I have a problem with my Exam Project. I need to write and read object (Utente) from a file. Following the Class then a Description of the Error/problem
    questo � il loader
    import java.io.*;
    public class Load {
    public Load(){}
    public void Caricalista(ListKey Lista) throws Exception{
    Utente loaded,x;
    ObjectInputStream ois = new ObjectInputStream(new FileInputStream ("elenco.sav"));
    while((loaded = (Utente)ois.readObject())!=null){
    loaded = (Utente)ois.readObject();
    System.out.println(loaded.nome);
    Lista.insert(loaded);
    x=Lista.head();
    System.out.println(x.nome);}
    ois.close();
    Questo il Saver
    import java.io.*;
    public class Salva {
    public Salva(){}
    public void salva (Utente piero) throws IOException{
    Load loader=new Load();
    ListKey Lista=new ListKey();
    try{ loader.Caricalista(Lista);
    }catch (Exception e){System.out.println ("Errore in Salva.java");}
    FileOutputStream fos = new FileOutputStream ("elenco.sav");
    ObjectOutputStream oos = new ObjectOutputStream(fos);
    Lista.insert(piero);
    Utente test=new Utente();
    int i;
    for(i=0;i<Lista.lenght();i++){
    Lista.scorri(test);
    oos.writeObject(test);
    oos.close();
    public class ListKey extends ListNode {
    public ListKey() {super();}
    public ListKey (Utente o){super(o);}
    public ListKey(Utente o, List l){super (o,l);}
    public Utente find (String user){if (isEmpty())return null;
    if (user.equals(head().nome)) return head();
    return ((ListKey)tail()).find(user);
    public Utente scorri(Utente prova){if (isEmpty()) return null;
    else {prova=head();
    return ((ListKey)tail()).scorri(prova);
    e il main:
    public class mainvia {
    * @param args
    public static void main(String[] args) {
    // TODO Auto-generated method stub
    Utente prova=new Utente();
    prova.nome="Tettone";
    prova.psw="300786";
    prova.LibriPrestito="SI";
    prova.TitlePrestito1="IL Giovane Holden";
    ListKey Lista=new ListKey();
    Salva save=new Salva();
    try {save.salva(prova);}catch(Exception e){}
    Load loader=new Load();
    try{loader.Caricalista(Lista);
    }catch(Exception e){}
    Utente x=new Utente();
    System.out.println(x.nome);
    The problem is that, if I use only the Load for open the file,it works great and find the first User, instead if in the Salva I run try{ loader.Caricalista(Lista);
    }catch (Exception e){System.out.println ("Errore in Salva.java");}
    it always goes in Error and print "Errore in Salva.java" like if it can not open the file.
    How Can I Resolve?
    The base idea is the:
    from the mainvia I pass the ListKey Lista to save, then i load all the object from the file to the Lista, then i add to the List the new Object then i write all the object in the List to the file.

    Let's start by printing some useful information about the error, instead of just the fact that an error occurred:}catch (Exception e){e.printStackTrace();}Tell us what that produces.

  • Having trouble with reading hex from an input file - please help

    Hi, I have a txt file with rows of hex, and I need to read each line and add it to an int array. So far I have:
    BufferedReader fileIn = new BufferedReader(new FileReader("memory.txt"));
                    int count = 0 ;
                    String temp = fileIn.readLine();
                    int file_in = Integer.parseInt(temp) ;
                    while(temp!=null) {
                         data[count] = file_in;
                         temp = fileIn.readLine();
                         file_in = Integer.parseInt(temp,16);// Integer.parseInt() ;
                         count++ ; /* increment counter */
                    } memory.txt:
    4004000
    4008000
    3FDF4018
    4108200
    3C104001
    FFFFFFE8
    4010C6C0
    FFFFFFE8
    94000000The above code crashes on the third input (my guess is becuase there are letters in and it can't parseInt letters.
    I think I need to parse it into an array of chars instead, however I don't know how to get from the string (temp) to the char array.
    can anyone help?

    ok turns out it's just a null pointer exception on the data[count] line, becuase I've only initialised the first two slots of data. i didn't see it before becase it was just throwing an error and i never printed it out.
    here's how I've defined data:
    in the class
    int[] data;just before the code to input the file data:
    for ( int i = 0; i < length; i++ )       
                    data [ i ] = 0;thinking this shoudl go through all the array and initialise it. but it gives a NullPointerException on the data=0; line.
    any ideas?
    Edited by: rudeboymcc on Feb 6, 2008 10:50 PM
    Edited by: rudeboymcc on Feb 6, 2008 10:51 PM

  • Login problems with create pdf,share and my files

    Hello ,
    When I currently go to www.acrobat.com on my windows xp
    computer and try to go to one of the create pdf,share and my files
    and click on begin I get a message saying sorry this service is
    temporary unavailable but when I click on learn more it says all
    service are up and runing. Does anyone know what is wrong and if
    the service is down when will it be fixed.?

    Hi Sue!
    This seems like a separate issue you're running into. It is
    good that you can get logged in, but odd that you're only seeing
    partial functionality in your user.
    How many files are missing? Is this affecting certain file
    types?
    Did you ever see files in your My Files section?
    How long have they been unavailable/missing?
    When uploaded, did they complete making it through the
    scanning process?
    Can you see files in your Buzzword organizer? (which is a
    different section than your My files organizer)
    Create new documents?
    It would be good to get another browser as a comparison test
    here as well, to see if there is any different behavior!
    It could be firewall related, but what you could do is maybe
    try logging into your account from another person's computer for a
    moment, to see if the files are visible there?
    Otherwise, the test from home, or laptop at a coffee shop,
    would be another good test!
    Get back to us with some of these questions answered, and
    we'll see about getting you up and running!
    Cheers,
    Pete

  • I've moved an internal hard drive with all my music and library files to a new computer --- how can I get itunes to import the whole library while keeping my metadata?

    I've always kept all my music on its own dedicated internal hard drive.  Now I've got a new PC, finally made the switch to Windows 7 from XP, and I've moved my internal hard drive over to the new machine.
    I installed iTunes, but I'm having a heck of a time getting it to import the music and library files, keeping all my playlists and metadata.  Why is this so hard?

    If your New to You Used Mac is froom mid 2012 and originally came with Lion installed on it you will need to Reinstall that version using the Online Internet Recovery system and then at first boot of the new install use the Setup Assistant system to copy over all the data from your wifes old hard drive.
    To access the Online system at startup hold down the Command + Option/alt + r keys and keep them held down until you see a globe on the screen. From the resulting screen that cames up, Mac OS X Utilities, select Disk Utility and then the top most entry for the hard drive, left hand panel, drive model number and size, and then the Partition tab. Repartition the drive as One Partition, You Must do that to get ride of the Mavericks Recovery HD partition which is hidden. Name the partition Macintosh HD with a format of Mac OS Extended (Journaled).
    Once that is done exit disk utility and select Reinstall Mac OS X.

  • Windows 7 Compatability with Labview 8.0 and missing files while interfacing the FPGA with LV

    I am trying to use an FPGA (PCI-7830R) with Labview 8.0. The computer has Windows 7 OS. I installed LV 8.0 in the proper order with the FPGA Module and labview is able to see the FPGA when I open a .lvproj (the FPGA is in the tree) however there is a warning symbol next to the FPGA selection and when I try to open a .vi file that is used on the other stations in my lab (it works on all the other stations), labview is unable to find a whole bunch of files. There are some pictures.
    Missing File (there are a bunch more but this is the fist one).

    According to this LabVIEW Compatibility LabVIEW 8.0 is NOT compatible with Windows 7
    Visualize the Solution
    CLA
    LabVIEW, LabVIEW FPGA

  • Can I recover a damaged SQL Server 2008 database with the undamaged .mdb and .ldf files?

    Their original SQL Server was 2008, with SP unknown, but installed on D: and C: drives.  The power spike corrupted their O/S on the C:
    drive and someone reinstalled both the O/S and the SQL Server, which is now SQL 2008, SP4.  They have intact files for all system databases, both .mdb and .ldf.  Is there some way they can reconnect with the user databases using the intact copies
    of the previous system databases? I have heard that if the SQL Server is stopped, previous Master and Msdb .mdb and .ldf files moved into place and the server restarted, that any previous user database .mdb and .ldf files can be accessed by the SQL server.
    Is this the case, or are there details missing?

    Hello! try this steps
     1 Open your SQL Server Management Studio console. This application shortcut is available in the SQL Server directory in the Windows Start button.
    2  Enter the system administrator user name and password. SQL Server's administrator user name is "sa." This account is required for privileges to restore the database. If your restoring on a host provider server, use the administrator user name
    and password they supplied for your account.
     3 Right-click your database name and select "Attach." In the new window that opens, click the "Add" button to open a dialog box.
     4 Select your MDF file and press the "Ok" button. It may take several minutes to restore the database if it is a large file. Once the process is finished, browse your tables to verify the data. The database is now restored.
    If nothing helped try to use: 
    https://www.youtube.com/watch?v=1cbOYdvBW2c

  • Sharepoint with Autocad,ESRI GIS and Primavera files.

    Hi All,
    I need to integrate SharePoint with ESRI GIS, AutoCAD,Primavera files  and
    support external storage repositories to store files larger than 1 GB such as ESRI GIS, AutoCAD and Primavera files. can some one help me!!!

    Hello,
    You should ask on the
    SharePoint forums.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Problem with Source:Object and Output:File

    Hello dear people,
    i have been found example like FileCompressTool.
    But i have been coded for conversors or decompilers.
    I have got error of File and FileStream
    Look at my picture
    I have been tried because my Adobe AIr Application has not error..
    How do i fix this error? Or i must run Adobe Air as Administrator Right?
    Code for Example:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication
              title="Half-Life Map Decompiler"
              xmlns:mx="http://www.adobe.com/2006/mxml"
              layout="absolute"
              showStatusBar="false">
              <mx:Script>
                        <![CDATA[
                                  import com.valve.utils.mapEncorder;
                                  import flash.filesystem.File;
                                  private var bspSrc:File;
                                  private var mapDes:File;
                                  private function ChooseSrc():void
                                            if( bspSrc == null ) {
                                                      bspSrc = new File();
                                            bspSrc.addEventListener(Event.SELECT,  sourceSelectHandler);
                                            bspSrc.browseForOpen("Choose Half-Life 1 Bsp File", [new FileFilter("Half-Life 1 *.bsp", "*.bsp")]);
                                  private function sourceSelectHandler(event:Event):void
                                            bspSrcText.text = bspSrc.nativePath;
                                            StateLog.text = bspSrc.nativePath + " has been selected.";
                                  private function ChooseDes():void
                                            if ( mapDes == null ) {
                                                      mapDes = new File();
                                            mapDes.addEventListener(Event.SELECT, destinationSelectHandler);
                                            mapDes.browseForDirectory("Choose for decompiled Map file!");
                                  private function destinationSelectHandler(event:Event):void
                                            mapDesText.text = mapDes.nativePath;
                                            StateLog.text = mapDes.nativePath + " has been selected.";
                                  private function Decompile():void
                                            var bsp2map:mapEncorder = new mapEncorder();
                                            bsp2map.decompileBsp2map(bspSrc, mapDes);
                                            StateLog.text = "This Map File has been decompiled complety.";
                        ]]>
              </mx:Script>
              <mx:Label left="10" top="10" text="Choose your bsp ( used by Half-Life 1 ):"/>
              <mx:TextInput id="bspSrcText" left="15" right="63" top="36"/>
              <mx:Button right="15" top="36" label="..." click="ChooseSrc()"/>
              <mx:Label left="10" top="70" text="Choose your decompiled map in your directory:"/>
              <mx:TextInput id="mapDesText" left="15" right="63" top="96"/>
              <mx:Button right="15" top="96" label="..." click="ChooseDes()"/>
              <mx:Label left="10" top="130" text="View with decompiled details:"/>
              <mx:Button right="98" top="128" label="Decompile" click="Decompile()"/>
              <mx:Button right="192" top="128" label="Clean log"/>
              <mx:TextArea id="StateLog" left="15" right="15" top="156" bottom="15"/>
              <mx:Button right="15" top="128" width="75" label="About..."/>
    </mx:WindowedApplication>
    And com.valve.utils.mapEncorder.as
              Valve Software
              Half-Life 1 - Maps
    package com.valve.utils
              import flash.filesystem.File;
              import flash.filesystem.FileMode;
              import flash.filesystem.FileStream;
              import flash.utils.ByteArray;
              public class mapEncorder
                        public function decompileBsp2map(bspSrc:Object, mapDes:File):void
                                  if( bspSrc == null || mapDes == null ){
                                            throw new ArgumentError("Half-LIfe Bsp File and Half-Life Map File cannot be null.");
                                  var bspSrcByte:ByteArray;
                                  var mapFileTarget:File = new File(mapDes.nativePath);
                                  var fileTime:Date;
                                  if(bspSrc is File){
                                            var bspSrcFile:File = new File;
                                            if(bspSrcFile.exists || bspSrcFile.isDirectory){
                                                      throw new ArgumentError("If your bsp File is current version.");
                                            var bspFileStream:FileStream = new FileStream();
                                            bspFileStream.open(bspSrcFile, FileMode.READ);
                                            bspSrcByte = new ByteArray;
                                            bspFileStream.readBytes(bspSrcByte, bspFileStream.bytesAvailable);
                                            bspFileStream.close();
                                            if (mapFileTarget.isDirectory)
                                                      mapFileTarget = mapFileTarget.resolvePath(bspSrcFile.name + ".map");
                                                      fileTime = bspSrcFile.modificationDate;
                                            else if (bspSrc is ByteArray)
                                                      bspSrcByte = bspSrc as ByteArray;
                                                      if (mapFileTarget.isDirectory)
                                                                mapFileTarget = mapFileTarget.resolvePath("_decompiled.map");
                                                      fileTime = new Date();
                                            else
                                                      throw new ArgumentError("Bsp File must be complety.");
                                            var mapFileStream:FileStream = new FileStream();
                                            mapFileStream.open(mapFileTarget, FileMode.WRITE);
                                            mapFileStream.writeBytes(bspSrcByte);
                                            mapFileStream.close();
    Thank you for help - If you find an error than you can tell me. If it doesn't work than i will try Flash Builder with Running as Admin.
    Regards J. Eckervogt

    I have been found problem because i have been found issus of if (...) with !
    It is okay. I have been forgotten. I am sorry. Thanks.. I have been fixed this..
    It is true
    But is worng code :
              Valve Software
              Half-Life 1 - Maps
    package com.valve.utils
              import flash.filesystem.File;
              import flash.filesystem.FileMode;
              import flash.filesystem.FileStream;
              import flash.utils.ByteArray;
              public class mapEncorder
                        public function decompileBsp2map(bspSrc:Object, mapDes:File):void
                                  if( bspSrc == null || mapDes == null ){
                                            throw new ArgumentError("Half-LIfe Bsp File and Half-Life Map File cannot be null.");
                                  var bspSrcByte:ByteArray;
                                  var mapFileTarget:File = new File(mapDes.nativePath);
                                  var fileTime:Date;
                                  if(bspSrc is File){
                                            var bspSrcFile:File = new File;
                                            if(bspSrcFile.exists || bspSrcFile.isDirectory){
                                                      throw new ArgumentError("If your bsp File is current version.");
                                            var bspFileStream:FileStream = new FileStream();
                                            bspFileStream.open(bspSrcFile, FileMode.READ);
                                            bspSrcByte = new ByteArray;
                                            bspFileStream.readBytes(bspSrcByte, bspFileStream.bytesAvailable);
                                            bspFileStream.close();
                                            if (mapFileTarget.isDirectory)
                                                      mapFileTarget = mapFileTarget.resolvePath(bspSrcFile.name + ".map");
                                                      fileTime = bspSrcFile.modificationDate;
                                            else if (bspSrc is ByteArray)
                                                      bspSrcByte = bspSrc as ByteArray;
                                                      if (mapFileTarget.isDirectory)
                                                                mapFileTarget = mapFileTarget.resolvePath("_decompiled.map");
                                                      fileTime = new Date();
                                            else
                                                      throw new ArgumentError("Bsp File must be complety.");
                                            var mapFileStream:FileStream = new FileStream();
                                            mapFileStream.open(mapFileTarget, FileMode.WRITE);
                                            mapFileStream.writeBytes(bspSrcByte);
                                            mapFileStream.close();
    Replace to:
              Valve Software
              Half-Life 1 - Maps
    package com.valve.utils
              import flash.filesystem.File;
              import flash.filesystem.FileMode;
              import flash.filesystem.FileStream;
              import flash.utils.ByteArray;
              public class mapEncorder
                        public function decompileBsp2map(bspSrc:Object, mapFile:File):void
                                  if( bspSrc == null || mapFile == null ){
                                            throw new ArgumentError("Half-LIfe Bsp File and Half-Life Map File cannot be null.");
                                  var bspSrcByte:ByteArray;
                                  var mapFileTarget:File = new File(mapFile.nativePath);
                                  var fileTime:Date;
                                  if(bspSrc is File){
                                            var bspSrcFile:File = bspSrc as File;
                                            if(!bspSrcFile.exists || bspSrcFile.isDirectory){
                                                      throw new ArgumentError("If your bsp File is current version.");
                                            var bspFileStream:FileStream = new FileStream();
                                            bspFileStream.open(bspSrcFile, FileMode.READ);
                                            bspSrcByte = new ByteArray();
                                            bspFileStream.readBytes(bspSrcByte, bspFileStream.bytesAvailable);
                                            bspFileStream.close();
                                            if (mapFileTarget.isDirectory)
                                                      mapFileTarget = mapFileTarget.resolvePath(bspSrcFile.name + ".map");
                                                      fileTime = bspSrcFile.modificationDate;
                                            else if (bspSrc is ByteArray)
                                                      bspSrcByte = bspSrc as ByteArray;
                                                      if (mapFileTarget.isDirectory)
                                                                mapFileTarget = mapFileTarget.resolvePath("_decompiled.map");
                                                      fileTime = new Date();
                                            else
                                                      throw new ArgumentError("Bsp File must be complety.");
                                            var mapFileStream:FileStream = new FileStream();
                                            mapFileStream.open(mapFileTarget, FileMode.WRITE);
                                            mapFileStream.writeBytes(bspSrcByte);
                                            mapFileStream.close();
    Now it is working. Thanks!

Maybe you are looking for

  • Dynamic File Name on Receiver Side using XSLT mapping

    Hi,   My scenario is a Proxy to File scenario.The File on the receiving side is a TEXT file generated due to XSLT mapping. The file name has to be dynamic like- TEST<DDMMYYHHMMSS>File.DAT. If somebody knows how to do the same please help. Regards Rit

  • Can't set clock

    I have problem with setting my clock. there is an errow:Uncaught exception:Index-1>=2 because of that, i can't set alarm clock or set events in my calander. THANKS (-:

  • How do i get music from my ipad to my mac

    i have a brand new mac computer but i cannot seem to get my music from itunes that is on my ipad onto the itunes on my mac...can anyone help with this?

  • Registry Based Discoverying not working

    Good day, I try to discovery a server which has a unique / special registry key (service name) . not sure why the discoverying is not working... Here is the xml of the management pack <?xml version="1.0" encoding="utf-8"?> <ManagementPack SchemaVersi

  • How to see through text?

    I've read some online advice about this, but perhaps my question is more complex.  I want to see through text, so a flag photo shows up inside of it.  But below that is another photo (suitcase).  So the text with the flag photo  inside is on top of a