[Solution] Compiling multiple C/C++ files

I've lost about 6 hours reading forums and googling to find out how to compile project with multiple .cpp files into one .swf.
I've seen different errors (Undefined sym, etc.) and tried different solutions.
So, I'm posting this to help anybody who will need to do the same.
1. You have to use g++ instead of gcc. My compile command looks like:
alc-on;g++ -Wall main.cpp -swc -O3 -o my_lib.swc
2. The main.cpp file has to have #include's for all c/cpp files you use (not only .h files!). I mean:
#include "MyClass.h"
#include "MyClass.cpp"
#include "MySuperClass.h"
#include "MySuperClass.cpp"
int main() {
  // standard alchemy init code goes here
So, after this, evethyting works fine.
Hope I helped somebody.

1. In general, g++ isn't necessary.  However, if you're compiling .cpp files, of course you must use g++.
2. While that will work, it's unnecessary hackery.  You should be able to compile multiple files together just like a regular C/C++ project.  There have been other posts on this, for example:
    http://forums.adobe.com/thread/465926
    http://forums.adobe.com/thread/894376

Similar Messages

  • Error when compiling multiple java code files

    Hi,
    Since I installed J2SDK downloaded from this website, it has never compiled my code correctly when written in multiple java files. Below is a sample of my code and the error message I am getting:
    File#1
    class testprint{
    public static void main(String args[]){
         myprint mp = new myprint();
         mp.manageprint();
    File#2
    class myprint{
    void manageprint(){
         System.out.print("please print");
    Here is my error message from the command line:
    c:\print>javac testprint.java
    testprint.java:4: cannot resolve symbol
    symbol : class myprint
    location: class testprint
         myprint mp = new myprint();
    ^
    testprint.java:4: cannot resolve symbol
    symbol : class myprint
    location: class testprint
         myprint my = new myprint();
                   ^
    2 errors
    C:\
    It seems Java is not recognizing myprint.java file. Do I need to configure anything to make my code work? Please help!
    Thanks in advance.

    Are both files in the same directory? Is the directory in your classpath?

  • Solution for undefined Sym when compiling multiple files

    Hi, I'd like to suggest a solution for the common 'undefined sym' problem.
    Combining all the source files into one file solves the problem quite effectively.
    I'm not sure if this is due to gcc, or some name mangling scheme that's throwing
    the avm2 off but in any case, when I compile multiple c++ files 'separately', ie
    g++ (or gcc) A.c B.c C.c -O3 -DOSX -DRT_AS3 -swc -o library.swc
    results in
    1) undefined _main if main() is not in C.c (but in another file which is not last in the list),
    and
    2) calling ANY function in A.c or B.c from C.c results in an "undefined sym" runtime error.
    When combining the files into one unit however, and then compiling that unit works fine:
    on linux/darwin:
    cat A.c B.c C.c > unit.c
    g++ (or gcc) unit.c -O3 -DOSX -DRT_AS3 -swc -o library.swc
    hope this helps someone.
    J

    Perhaps I didn't explain my question well enough. We already are using a dependency management system (based on jam - blows the doors off of make). However, some of our libraries that we build consist of many ( 100+ ) individual .cpp files, and there are many of these libraries in a dependency hierarchy. Invoking the compiler once per file seems to be a source of considerable overhead. I want to invoke the compiler only twice per library, no matter how many individual .o files need to be rebuilt - once to rebuild the out of date subset of .c files (one "-c" style invocation, no link step, generate object files only), and once to link the rebuilt .o files and the unchanged .o files into the target shared object.
    However, the compiler will not accept multiple "-o" flags, forcing us to invoke it once per file if we want to specify an output name. I want an option (or a workaround) that will allow us to specify multiple source files, and the output name for each in one compiler invocation. One approach could be a flag that could be used repeatedly to specify source file name / object file name pairs on the command line. Another would be a flag that set a derivation rule by which the output object file name would be generated from the input source file name.
    Repeatedly invoking the entire toolchain to compile one file of many, when the include dependency graphs, symbol tables, template instantations, etc. of each of those files are certain to overlap to a great degree, seems to me like a huge waste. Why must we reparse std::basic_string for each source file if we know the build environment is the same, just because we want to specify the output filename?

  • Compiling multiple files?

    This is kind of a theory question.
    when you compile a file that has references to other files(all files are in the same package), isnt the compiler supposed to check that those other files have been compiled and if they are not, then isnt it supposed to compile them as well. For example;
    public class MainFrame {
    public MainFrame () {
    super ();
    // init ();
    //testUnits ();
    init2 ();
    private void init2 () {
    FDocument document = new FDocument ();
    FPage page = new FPage ();
    FFrame rectangle = new FFrame ();
    FParagraph header = new FParagraph ();
    FFrame pageFrame = new FFrame ();
    FFrame footer = new FFrame ();
    FFrame testRectangle = new FFrame ();
    FFrame childRectangle = new FFrame ();
    when I compile MainFrame, should it not also compile FDocument, FPage, FFrame etc as well?
    at present I get the errors cannot resolve symbol: class FDocument etc.
    As well, where I have a file FPrintObject which contains a reference to another file FPage such as
    public FPrintObject(FPage pg){
    shouldnt it compile FPage when I compile FPrintObject?
    I get the same cannot resolve symbol error, and they are definitely in the same package.
    any suggestions? Thanks alot in advance. OZ!!
    PS I have to reference that code snippet, it was from an excellent article in Javaworld autjhored by Jean-Pierre Dube "Printing in Java".

    Ok, thanks alot guys, looks like I was mistaken in my understanding of how the compiler worked, That pretty much cleared it up. It looks like the easiest way to do it is through and IDE(I' m using JCreator LE) by using the build batch function. If I wanted to do it through the Dos Prompt, How would I do it?
    At present I would normally do;
    c:Print>c:\j2sdk1.4.0-rc\bin\javac MainFrame.java
    as quoted above
    No, only the file(s) you specify on the javac command> is(are) compiled. If you want to compile multiple
    > files at a time, then you need to specify them all as
    > arguments to the javac command.
    >
    so what would be the entry in order to specify them all as arguments to the javac command?
    using the example above if I also wanted to compile FDocument, FPage, FFrame.
    with regard to classpath, I have it set to
    path=c:\windows;c:\windows;c:\windows\command\j2sdk1.4.0-rc\bin
    Thanks, you're help is great.

  • Compiling Multiple Files using JDK1.3.1

    C:\jdk1.2.2\bin\javac -d C:\classes -classpath <some classpath> C:\release\*.java
    The above works fine in the CMD promt of WIN2K server.
    C:\jdk1.3.1\bin\javac -d C:\classes -classpath <some classpath> C:\release\*.java
    This doesn't work, same error type is thrown for multiple files: "cannot resolve symbol".
    I think the problem seems to be in the autocompile, i.e while compiling a java file, the javac compiles all the import files (if class files don't exist). This happens in JDK1.2.2, but not in JDK1.3.1
    Any pointers to solve this problem.
    Thankx

    If your class uses another class from a package which is not compiled already
    it will throw this error. To overcome this just include the path to all the packages
    that your class uses in your classpath.
    Fx,
    you want to compile xxx.java and yyy.java in c:\javatest\
    But to compile these above two files you also have to compile files
    in c:\javatest\test\files\aaa.java and c:\javatest\test\files\bbb.java
    then you should have c:\javatest\ in your classpath.
    hope this helps.
    cheers.Also you should have the follwing import statements in xxx.java and yyy.java
    import test.files.aaa;
    import test.files.bbb;
    aaa.java and bbb.java can be compiled from c:\javatest\test\files\
    but alternatively, if you don't have the files compiled...when you compile
    xxx.java or yyy.java they should be compiled automatically, provided you
    have included the proper import statements.
    All the best !

  • How do you compile multiple class files in a unix cmd prompt?

    I have been using Java for a few years now, but for some reason I have a course that requires us to compile/run and hand-in our java assignments using Unix...
    I know how to compile a simple program on unix with a single source file, but how the heck do you compile and run a program with say... 2 or more sources files linked together?
    I really doubt the answer is just type
    javac java1.java
    javac java2.java
    javac java3.java
    and then running the source file with the main in it.
    Hopefully someone here can help me.
    Thanks
    Roger

    okay, well I took some time to read up online how to do this and I guess i'll answer my own post just in case someone else wants to know the answer.
    2 ways I found were:
    1)For example, you can list all of the source file names in a file named sourcefiles. This file might look like:
    MyClass1.java
    MyClass2.java
    MyClass3.java
    You could then run the compiler with:
    % javac @sourcefiles
    2)Or if all the files are in the same directory you can do this:
    This example compiles all the source files in the package greetings.
    % ls
    greetings/
    % ls greetings
    Aloha.java GutenTag.java Hello.java Hi.java
    % javac greetings/*.java
    If that is confusing to read I found all the answers from this webpage:
    http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/javac.html

  • Issues using multiple load-config files with ant

    Hello,
    Not sure if this is the correct place...
    I am creating an ant build script to compile our flex application. I am trying to use the default flex-config by doing <load-config filename="${flex.sdkPath}/frameworks/flex-config.xml"/> and project specific config file add the datavisualization module and any other libraries we might need in the future. I am trying to do this as I don't want to modify the flex-config.xml
    The issue I keep running into is I get a compiler error saying "unable to locate specified base class 'spark.comonents.application..". if I place the custome load-config file above the adobe default flex-config it gives errors stating it the "SeriesSlide" type
    <mxmlc file="${project.sourcePath}/FBApp.mxml"
             output="${project.output.binaryPath}/${project.output.fileName}.swf"
             locale="en_US"
             static-link-runtime-shared-libraries="false"
             static-rsls="false"
             use-network="true"
             accessible="false"
             debug="true">
             <load-config filename="${flex.sdkPath}/frameworks/flex-config.xml"/>
             <load-config filename="C:/Hudson/.hudson/jobs/FB 2.0 Flex/workspace/FBApp/FB-config.xml"/>
             <source-path path-element="${flex.sdkPath}/frameworks/libs"/>
             <source-path path-element="${project.sourcePath}"/>
             <library-path dir="${flex.path}/sdks/${flex.sdkVersion}/frameworks/locale/en_US"
                includes="*"/>
             <library-path dir="${project.libraryPath}"
                includes="*"/>
             <keep-as3-metadata name="Protected"/>
          </mxmlc>
    the following is my FB-config.xml
    <?xml version="1.0"?>
    <flex-config>
       <runtime-shared-library-path>
    <path-element>C:\Program Files\Adobe\Adobe Flash Builder 4 Plug-in\sdks\4.1.0\frameworks\libs/datavisualization.swc</path-element>
    <rsl-url>http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/datavisualization_4.1.0.16076.swz</rsl-url>
    <policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
    <rsl-url>datavisualization_4.1.0.16076.swz</rsl-url>
    <policy-file-url>.</policy-file-url>
       </runtime-shared-library-path>
    </flex-config>
    It seems to be that the first "load-config" ant runs into is the only one that gets used. When looking around the internet I have multiple cases of where people say they have successfully used multiple load-config files.
    This one in particular.
    http://flashdevelop.org/community/viewtopic.php?f=13&t=5629&view=previous
    If I had to guess on what was wrong I believe my FB-config.xml file is incorrect but I can't find an example of anyones custom configuration file.
    Any guidance would be apprecaited.

    I am embarrassed to say that your solution answered my question.
    I was about 10 min away from rewriting my Ant script to just use the mxmlc.exe directly instead of the mxmlc ant tag. I kept running into the -flex-config+=YourConfig.xml for the command line option but never saw the xml variant.
    http://blog.flexexamples.com/2008/12/21/using-a-custom-flex-configxml-file-in-flex-builder -3/
    http://livedocs.adobe.com/flex/3/html/help.html?content=configuring_environment_3.html
    Does Flex have any documenation that shows all the different tags that are available like the Ant documenation?
    http://ant.apache.org/manual/Tasks/delete.html
    Thanks at ton.

  • *Added* code to existing source file, compiled it, and class file shrunk

    Another newbie here. Fortunately, my classpath is ok, so I'm able to compile a .java file.
    I added one line of code (System.out.println) to write the value of a variable to a log. After compiling with javac, I noticed that the resulting [new] class file was smaller than the existing class file. I looked at each of the class files with Textpad. It's gibberish, but I quickly saw that a large block of code was missing in the new class file, even though the size of the source file had been increased.
    There is a difference, however, between how the two class files were created. The existing class file was compiled (along with many others) by exporting an .EAR file from a development environment (WSAD) to the WebSphere Administrator Console. Conversely, I am now compiling the same source file with javac on my machine.
    I suspect that this is the reason why I can add code to a .java file, compile it, and have the resulting class file actually lose code. Even if I am correct, I don't know what to do about it.
    Does anyone have an idea?
    Regards,
    Daniel T.

    Thank you both for your replies. I've read many posts over the past few months, and I know how important it is to provide as much info as possible, when asking a question here. That said, I have another tasty tidbit...
    After replacing the existing (larger) class file with the new (smaller) class file, my application now produces this:
    "*Error 500: LinkageError while defining class*..." [name of class]
    *"...(Unsupported major.minor version 50.0) This is often caused by having a class defined at multiple locations within the classloader hierarchy. Other potential causes include compiling against an older or newer version of the class that has an incompatible method signature. Dumping the current context classloader hierarchy: ==> indicates defining classloader ==>[0] com.ibm.ws.classloader.CompoundClassLoader@6bd156d5 Local ClassPath:"*
    ...[the entire classpath]...
    Original exception--- java.lang.UnsupportedClassVersionError:
    I'm guessing that my focus should mostly be on the 'Original exception', and maybe I need to revisit the JRE or JDK or JVM (these terms are somewhat nebulous to me, so please forgive me using them interchangeably) on my machine. For now, I'll just keep trying stuff. Thanks again for the replies!
    Regards,
    Daniel T.

  • Splitting multiple IDoc XML files into single IDoc messages for R/3

    Hi all. I have a problem splitting IDoc XML files coming in to XI. I currently have an interface that takes in single store sale IDoc transactions (type WPUBON01) in an IDoc XML file. I then have some complex graphical mapping on the IDoc before sending to R/3 via the IDoc adapter. This works fine. However, we now wish to include multiple sales in one file i.e. many WPUBON01 IDocs. I could use message splitting to do this BUT the mapping is so complex, I do not wish to have to change it to enable the processing of many IDocs in one file instead of just one.
    What I want to do: have one mapping splitting a multiple IDoc XML file into single IDoc messages and then another taking these single messages as before and performing the mapping. I cannot find a way to do this in one interface; the main problem I'm having is getting XI to split the multiple IDocs into many single IDoc messages within XI itself. I'd be very grateful for any advice on the best way to do this.
    Thankyou.
    Stuart Richards (Halfords, UK)

    Bhavesh,
    Thanks again for a clear explanation... I'm moving forwards but still struggling. I've been on this all afternoon today (after a break on other things) and just cannot get my message to split properly (though the SOAP adapter problem I had earlier is now fixed!). If my initial IDoc XML file contains this format:
    <WPUBON01><IDOC>....</IDOC>
                          <IDOC>....</IDOC>
                          <IDOC>....</IDOC></WPUBON01>
    .. I'm not sure what the cardinaility on the first message mapping and interface mapping should be. I'd have thought the source interface would be 1 and the target would be 0..unbounded but this isn't working. I'm trying different things but I get different errors each time. Currently, I have the above cardinality in my first interface and I'm passing in the following data:
    <WPUBON01><IDOC><EDI_DC40><TABNAM>EDI_DC40</TABNAM><MANDT /><DOCNUM /><DOCREL>620</DOCREL><DIRECT>2</DIRECT><IDOCTYP>WPUBON01</IDOCTYP><MESTYP>WPUBON</MESTYP><MESCOD>ST6</MESCOD><SNDPOR>WPUX</SNDPOR><SNDPRT>KU</SNDPRT><SNDPRN>0518</SNDPRN><RCVPOR /><RCVPRT>KU</RCVPRT><RCVPRN>0518</RCVPRN><REFINT>00000003832292</REFINT></EDI_DC40><E1WPB01 SEGMENT="1"><POSKREIS>0518</POSKREIS><KASSID>29</KASSID><VORGDATUM>20071029</VORGDATUM><VORGZEIT>160633</VORGZEIT><BONNUMMER>1001</BONNUMMER><KASSIERER>100</KASSIERER><CSHNAME> </CSHNAME><BELEGWAERS>GBP</BELEGWAERS><E1WPB02 SEGMENT="2"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="3"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="4"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="5"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="6"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="7"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="8"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="9"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="10"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="11"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="12"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="13"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="14"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="15"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="16"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB06 SEGMENT="17"><VORZEICHEN></VORZEICHEN><ZAHLART>PTCS</ZAHLART><SUMME> </SUMME><KARTENNR /><ZUONR>1001</ZUONR></E1WPB06></E1WPB01></IDOC><IDOC><EDI_DC40><TABNAM>EDI_DC40</TABNAM><MANDT /><DOCNUM /><DOCREL>620</DOCREL><DIRECT>2</DIRECT><IDOCTYP>WPUBON01</IDOCTYP><MESTYP>WPUBON</MESTYP><MESCOD>ST6</MESCOD><SNDPOR>WPUX</SNDPOR><SNDPRT>KU</SNDPRT><SNDPRN>0518</SNDPRN><RCVPOR /><RCVPRT>KU</RCVPRT><RCVPRN>0518</RCVPRN><REFINT>00000003832293</REFINT></EDI_DC40><E1WPB01 SEGMENT="1"><POSKREIS>0518</POSKREIS><KASSID>29</KASSID><VORGDATUM>20071029</VORGDATUM><VORGZEIT>160634</VORGZEIT><BONNUMMER>1002</BONNUMMER><KASSIERER>100</KASSIERER><CSHNAME> </CSHNAME><BELEGWAERS>GBP</BELEGWAERS><E1WPB02 SEGMENT="2"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="3"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="4"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="5"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="6"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="7"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="8"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="9"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="10"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="11"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="12"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="13"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="14"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="15"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="16"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB06 SEGMENT="17"><VORZEICHEN></VORZEICHEN><ZAHLART>PTCS</ZAHLART><SUMME> </SUMME><KARTENNR /><ZUONR>1002</ZUONR></E1WPB06></E1WPB01></IDOC><IDOC><EDI_DC40><TABNAM>EDI_DC40</TABNAM><MANDT /><DOCNUM /><DOCREL>620</DOCREL><DIRECT>2</DIRECT><IDOCTYP>WPUBON01</IDOCTYP><MESTYP>WPUBON</MESTYP><MESCOD>ST6</MESCOD><SNDPOR>WPUX</SNDPOR><SNDPRT>KU</SNDPRT><SNDPRN>0518</SNDPRN><RCVPOR /><RCVPRT>KU</RCVPRT><RCVPRN>0518</RCVPRN><REFINT>00000003832294</REFINT></EDI_DC40><E1WPB01 SEGMENT="1"><POSKREIS>0518</POSKREIS><KASSID>29</KASSID><VORGDATUM>20071029</VORGDATUM><VORGZEIT>160634</VORGZEIT><BONNUMMER>1003</BONNUMMER><KASSIERER>100</KASSIERER><CSHNAME> </CSHNAME><BELEGWAERS>GBP</BELEGWAERS><E1WPB02 SEGMENT="2"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="3"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="4"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="5"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="6"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="7"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="8"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="9"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="10"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="11"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="12"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="13"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="14"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="15"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="16"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB06 SEGMENT="17"><VORZEICHEN></VORZEICHEN><ZAHLART>PTCS</ZAHLART><SUMME> </SUMME><KARTENNR /><ZUONR>1003</ZUONR></E1WPB06></E1WPB01></IDOC></WPUBON01>
    In the message monitor, I get a chequered flag. Great. However, I get the dreaded error 500 in the SOAP receiver comm channel:
    SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    Exception caught by adapter framework: SOAP Error
    Delivery of the message to the application using connection AFW failed, due to: SOAP Error.
    Any ideas as to what this might be?! I'm getting there.... if I get a solution out of this, I promise to write the blog myself!
    Cheers
    Stuart

  • Compiling multiple java

    Hi. I have a question on how to compile many .java files, which are stored in various dirrectories (packages). There are literally hunderds of files. All are stored in a dirrectory tree that takes orign in .. let's say .. "Src" and branches down from it.
    I specifically want to use 'javac' compiler.
    When I am the 'src' folder I want to say
    prompt> javac [option] *.java
    Now I'm not sure what that option is. It basically have to tell the OS to compile all files in all the subdirectories of src and their corresponding subdirectories. A recursive compilation that is.
    Would appreciate any help.
    Thanks

    prompt> javac [option] *.java
    Now I'm not sure what that option is.There is no option to "recursively" compile .java source files.
    Unlike some languages the source file name and the name of the
    directories it is in are intimately related to the type of the class being
    compiled. You specify a .java source file (or multiple source files) and
    using what it knows about the source file names, and what you set
    the classpath to be, the compiler will determine what needs to be
    compiled and where the source files are located.
    Have you read the documentation for javac?
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javac.html
    The command (or commands) you use will almost certainly involve
    the -d option to set the destination directory, the -classpath option to
    set the classpath and possibly the -sourcepath option. There are
    examples given for both compiling multiple files, and compiling where
    source and class files are in separate directories.
    If you obtained these files from somewhere it might be a good idea to
    consult whatever documentation is available. In particular you are
    looking for some description of the "build" process. Building a large,
    related, set of files could involve installing and using a tool like Ant.

  • Multiple tnsnames.ora files

    Hi,
    I am new to oracle and we have multiple versions of oracle installed on our machine. We have Oracle 9i, xe, developer suite - all on the same machine and as a result of that, we have multiple tnsnames.ora files. Due to this, when we try to log into the applications (sql plus, raptor, forms etc.), we get one or the other error all the time.
    Is it due to having multiple tnsname.ora files on the same machine. What is the solution to this problem?
    Thanks in advance
    accts

    Is it due to having multiple tnsname.ora files on the same machine.No, every application looks for its own tnsnames.ora, and if you get errors, then it means that something is wrong, not necessarily with tnsnames.ora.
    The first thing I'd do is to maintain only one (possibly working) tnsnames.ora (renaming or removing the other ones), and set TNS_ADMIN OS environment variable to point to that one, and try.
    It would be useful to know the errors you get...

  • I'm getting error as adobe Illustrator crashes while loading the multiple pages PDF file. Please help me. Thanks in advance.

    Hi,
    I'm getting error as adobe Illustrator crashes while loading the multiple pages PDF file.
    Please help me. Thanks in advance.

    Hi Monika,
    I have downloaded the script to load the multiple page of pdf file.
    I tried loading the multiple page PDF file via File Menu -> Scripts -> Other Script...
    After executing the script file -> Browse and enter the page number - > OK
    The PDF file is looks like created from word document. There are total 120 pages in this file.
    PDF file size is 20 MB.
    I'm still searching for the solutions. Please help me.
    Thanks,
    Lavprasad

  • I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I am not aware of a way except for photos that allows you to select multiple files in an email. I even checked settings in the Adobe Reader app, and it does not show that ability.

  • How to load multiple .wrl (VRML) files?

    Hi all,
    I need to load four components of a coffee table into the virtual universe, the four components are top, base, left leg and right leg. I use four parts not one whole single object because in this way when I change the size of this furniture, I can make the thickness of the edges fixed, which is a must. The four parts consist a table correctly in the design software TopSolid, but when I load the four .wrl ojbect files seperately in the application, they cannot compose a table correctly. I guess the reason is the four components have been resized and translated automatically in the VRML loader. I have reviewed the source code of the VRML loader and some related source code but not be able to find where the auto resize code is.
    I have used four Wavefront .obj files instead to do another technical demonstration, if I disable the ObjectFile.RESIZE flag, and just scale the four parts by myself using the same scale factor, I can get a perfect coffee table, with every part in correct location. But my supervisor insist on using VRML .wrl files in our project.
    I hope someone can give me some kind instructions or advises on how to do it in VRML97 loader (https://j3d-vrml97.dev.java.net/).
    Any help will be highly appreciated.

    Answered here : http://www.java.net/forum/topic/javadesktop/java-desktop-technologies/java-3d/trying-load-multiple-wrl-vrml-files-same

  • Why can't I open multiple sparse image files at the same time in FCPX?

    I work in a multiple editor enviroment, where we have hundreds of different projects.  They are all divided into sparse image files to keep them all separated.  I used to be able to mount multiple sparse image files and see them all in FCPx.  But recently, FCPx upon opening, will close out all but one sparse image.  The images are still mounted to the OSx but FCPx will not recognize them.  I can only open one sparse image at a time.  I am needing to export multiple projects at the end of the day, and can't batch export or send them all to compressor because I can open up multiple projects.

    I work in a multiple editor enviroment, where we have hundreds of different projects.  They are all divided into sparse image files to keep them all separated.  I used to be able to mount multiple sparse image files and see them all in FCPx.  But recently, FCPx upon opening, will close out all but one sparse image.  The images are still mounted to the OSx but FCPx will not recognize them.  I can only open one sparse image at a time.  I am needing to export multiple projects at the end of the day, and can't batch export or send them all to compressor because I can open up multiple projects.

Maybe you are looking for