How to use a project in another project

I am learning Java, Activiti and Vaadin - all at once. I am so new to Java I am not even sure how to ask this question. I have been searching and trying for the last couple of hours.
I am following a book on Vaadin. They have example code. It needed some classes from example code at their site (http://dev.vaadin.com/svn/doc/book-examples/trunk/). I used Subversive to "download" the project that has all the source code in a project. This is where I am stuck.
I have a project I am using to experiment with. I tried quite a few different things. I suspect that I need the whole project I downloaded to be packaged in some way and then import that into my project.
How do I do what I need to do?

>
I suspect that I need the whole project I downloaded to be packaged in some way and then import that into my project.
>
In order of recommended preference
1. Do NOT try to learn three interdependent technologies like that at the same time. Sample code for one project may use advanced features of one of the other projects. Learn the basics of each technology one at a time before you start combining them.
2. Download the pre-built jar files and then add them to your classpath. That site has a release folder where you can find the jar files
http://dev.vaadin.com/svn/releases/
3. Download the source files (you say you did) and build THEIR project manually then use those jar files in your project. For someone new to Java that would NOT be recommended. You may not have the tools needed to do the build properly and you will spend more time trying to get the build working when you would be better off using the time to learn Java. They may use Eclipse while you may be using NetBeans. Their pre-packaged build scripts may not work at all with NetBeans.
4. Add their source files to your project. The kicker here is that they may be using other third-part jar files and you will need to find and download the correct versions of those. See item #2 above.

Similar Messages

  • ODI:How to import a version of a project into another project

    Hi Everyone,
    I have exported an XMl file(exported version file) of a odi scenario.how can i use this file in another project?
    I have to import this version in my new project.
    Thanks,
    Jayant

    But is there a way to import the complete list of numbers, so the pictures are listed at once ?
    Or is there a script that enables bridge to read the list of numbers.
    To my knowledge there is no way to add this file in one time to the find command and I have very less knowledge about scripting. If you know how to use and create theme your goal could be to create one your own but the time and effort is far more then just rate or label the wanted files.
    For example, You can have bridge pointed to the folder with all the files, if you have nested subfolder select the main folder and choose select items from subfolders in the view menu, this shows you all the files of the main folder in the content panel.
    Select a sort order that corresponds with your list.
    Scroll through the files and the ones you need you can either add one star or a label to it. When done select one star or the chosen label and you will only see the files you need.
    really a piece of cake and take you no more then 5 minutes... :-0
    I´ve seen that bridge comes with a colaborationtool but i didn´t realize this before and now
    i looking for a workaround or workflow to keep things easy.
    Not sure what you mean with collaboration tool but think you mean the option to reach PS functions via the Tools menu and select batch or photomerge?
    This has bin there from the first edition as I try to recall and is very, very useful as there are many other tools in Bridge that will provide you a fast workflow.
    I would advice you to buy (and read) the book Real World Camera Raw by Jeff Schewe and Bruce Fraser. There are editions for CS2, CS3, CS4 and CS5. It is written in very understandable language and you will find almost everything there is to know about ACR and Bridge and how to create perfectly and fast workflows

  • How can I move an original Version from one Project to another Project?

    How can I move an original Version from one Project to another Project?

    From the Aperture User Manual:
    To move an image into a different project
    Drag the image [from the Browser] into another project in the Library inspector.

  • How to use crystal report in J2EE Project.

    how to use crystal report in J2EE Project.. any one know please inform me...
    thank you..

    http://www.inetsoftware.de/products/crystalclear/Crystal-Reports.htm?adwords=googleCrystal&gclid=CKDD1YDem5UCFRpknAodZA4EhA
    I think this might help u...

  • How to use temporary interface in another interface as derived table in 10g

    Hi ,
    Can somebody please tell me how to use temporary interface in another interface as derived table in 10g.
    I have an option in odi 11g to this task.But i am working on odi 10g for my project.So that please help me to do this task.
    I can able to create temporary interface in 10g ,but i dont know how to use that temporary interface in another inerface as derived table.
    Thanks in Advance
    Thanks,
    Srikanth A

    A temp interface CANNOT be used as a derived table in ODI 10g.
    All you can do is to drag and drop the temp interface as the source in the mapping.
    PS. Please remember to assign correct/helpful points to the people who help you in the forum.

  • In SQLScript, how to use EXEC to call another procedure with parameters in procedure?

    Hi experts,
    In SQLScript, How to use EXEC to call another procedure with input and output parameters in procedure?thanks very much

    Hi Sagar,
    thank you! I generate another procedure with an input parameter and an output parameter in a procedure. Then i need to call the generated procedure using EXEC. Here is my code:
    create procedure ftest1(out sum_num bigint)
    as
    begin
    declare fa_output bigint;
    declare v_sql_drop varchar(200);
    declare v_sql varchar(500);
    declare cursor c_cursor1 for select num from TABLE1;
    --v_sql_drop := 'drop procedure fe';
    --exec v_sql_drop;
    v_sql := 'create procedure fe(in i_num bigint,out o_num bigint) as begin';
    v_sql := :v_sql || ' o_num := :i_num * 2 + :i_num * :i_num;';
    v_sql := :v_sql || ' end';
    exec v_sql;
    open c_cursor1;
    for c_item as c_cursor1 do
    exec 'call fe(c_item.num,o_num=>fa_output)';
    if sum_num is null then
    sum_num := fa_output;
    else
    sum_num := :sum_num + fa_output;
    end if;
    end for;
    close c_cursor1;
    end;
    The underline code is using exec to call the generated procedure. But this method cannot work. Any suggestion? thanks again!

  • SSIS - Migration of attachments from one project to another project in Quality

    0
    Hi All,
    I would require some technical help on SSIS, which
    requires migration of attachments from one project to another project in Quality
    center.
    I have tried various possible ways of migrating the
    attachments. But only the icon appears with no file present.  This is stored as
    a system file hence requires migration of the files as well. Therefore I would
    like to know if there is any way to solve this issue.
    Please refer site as well for reference .
    Thanks in advance .
    Thanks & Regards,
    Anand Gavle.

    Hi Anand,
    I have moved your post to the SQL Server Integration Services forum.
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • How can we use Bounded Taskflow in another project.

    Greetings!
    Suppose we have 2 projects: projectA and projectB.
    In projectB we have 4 bounded taskflows: T1, T2, T3, T4.
    In projectA we have a view with a dynamic region, text input for digits and a command button.
    How can we fill our dynamic region with taskflows from projectB, by typing a number of it and pressing a button.
    Thank you.

    Hi,
    Yes, I know.
    However, I'm under the impression that this is not the preferred method. All the documentation describe the ADF library method and I cannot find any description about putting them in a separate project.
    All said, it seems to kind of work, using the 'jar dependencies', except for taskflows with a nested taskflow from another project. An I still need to import them as adf library.
    We'd like to develop our taskflows separately using a short development lifecycle. Putting each of them in a separate application and publish and import them in the main application seems to be too complicated and takes to much time, everytime.
    Am I correct that the shortest development lifecycle is to have all the taskflows in our webapplication, and have full debug and hot-swap functionality?
    Ciao
    Aino

  • How can I use a module of another project?

    Hi
    I am using Visual studio 2013.
    I have a solution with 2 projects (console application).  In the first one there is a module that I want to use it in the other project (without compliantly recreate it in the second one, otherwise what is the benefit to have several projects in one
    solution?). is it a way to do that? 
    Thanks.

    Hi,
    You erroneously posted you question on the Project forum, which is dedicated to the scheduling and planning Microsoft application.
    Please go to the VS forum to have a proper help:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=visualstudio
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • How to invoke BPMN processes in another project in JDeveloper?

    I have imported two BPMN diagrams from the Oracle BPA to JDeveloper. After importing I ended up with two projects each containing the first and second diagram. The problem now is in the final product, the user should be able to go through the tasks and other stuff in the first diagram and proceed to go through the task and other stuff in the second diagram.
    JDeveloper only allows me do this if the two BPMN diagrams are in the same project. By doing so I can use the throw message events in the first diagram to invoke the second diagram using the second diagram's message catch event.
    I can manually copy the second diagram to the first project but when I have 100+ diagrams I will have a big problem.
    Anyone know how can one BPMN diagram in one project invoke a diagram in another project?

    Know this is cryptic - if you want a step-by-step I'll be glad to give you more details.
    Add a Message start event to the process that you want to make the called child process. Deploy the project and copy the WSDL of the new process that is now exposed as a web service using Enterprise Manager.
    In the calling parent process, open the composite and add the service. In the calling process, add a Service activity that invokes the web service you just exposed.
    Hope this gets you going,
    Dan

  • How to save part of project to another project file

    I'm sure there is a way to do this but I cant seem to figure it out, hopefully someone here knows.
    I imported all my kids videos and cut them down and put in transitions and everything, BUT it ended up being just short of 3 hours long and file is 2GB.
    When I try to import into IDVD it ends up being too large for a DVD so I need to know HOW can I remove the last hour of my movie file into a new project without just deleting it out of original project which would leave me having to re-edit all over again the hours worth of video i already did for another project?
    The disc I am trying to burn to is a DVD+R which i assume is 4GB.
    Thank You
    Patrick

    I imported all my kids videos and cut them down and put in transitions and everything, BUT it ended up being just short of 3 hours long and file is 2GB.
    Use the "Duplicate Project" option to create a duplicate project. Then delete the last half from one and the first half from the other.

  • How to call a process from another project

    Hi;
    How to calling a process from another process in another project? Which activity that i need or web service, direct binding? I use 11g

    Hi Tulasi ;
    I have wsdl of the process i need to call. Also wsdl address on the server. But CALL activity can't use to service call. CALL activity can use only to reusable process call.
    I think, this operation must make on composite.xml. But I have a same problem with this method and it don't work.
    I create a base process that looking at below. It's include a direct binding. Is it include a direct binding?
    [Base Process|http://d1201.hizliresim.com/t/s/21wqu.png]
    Then i create a process that call to base process:
    [Caller Process|http://d1201.hizliresim.com/t/s/21wqx.png]
    I paste to base process' wsdl address on the server. Then i select port type (BaseProcessPortType) and a warning has occured that you see the picture above. Base Process contain Oracle SOA Composite Type. What's the wrong? It happened for Callback Port Type.
    And second question is what's the Address? (under Reference Binding Setails option).
    I think, i create the this direct binding correctly, i call to base process into my caller process via service activities.

  • How to include a CSS from another project

    Hi all,
    I'm developing an AbstractPortalComponent which uses some of my own defined stylesheets. I can include the stylesheet defined in my own project by this:
    com.sapportals.portal.prt.resource.IResource myStyle =
    request.getResource("css", "css/my_nav.css");   
    response.include(request, myStyle);
    Now I need to include another CSS but from another project.
    I tried also to get the response and write the HTML code but it writes it into the <BODY></BODY> tag and the CSS is not used when rendering the document:
    ...</head>
    <body class="prtlBody urFontBaseFam urScrl">
    <LINK REL=stylesheet HREF="/irj/portalapps/myProject/css/zglobal.css" TYPE="text/css">
    Does anybody know the solution?
    Thanks in advance,
    Romano

    There are document hooks that you can use to insert things into the response of a page being written to the client.
    Therefore, if you create a service which implements the IDocumentHookListener, you will then need to implement the
    String doDocumentHook(int documentPosition, IPortalComponentRequest request, IPortalComponentResponse response)
    and
    void doDocumentHook(int documentPosition, IPortalComponentRequest request, IPortalComponentResponse response)
    The first method, that returns a String, you can basically check where in the document you would like to write code, something like
    switch (documentPosition) {
      case IDocumentHookListener.HEAD_SECTION_BEGIN :
        return "some string";
        break;
      case IDocumentHookListener.HEAD_SECTION_END :
        return "some other string";
        break;
    The second method, simply writes out the String returned from the first method to the response, i.e.
      response.write(doDocumentHook(documentPosition, request));
    I hope this helps
    Darrell

  • How to use WEB ADI in R12 project accounting- Need urget

    Hi Friends,
    How to use WEB ADI in R12 for project accounting, right now iam working in a client place, i need to show demo on WEB ADI functionality in project accounting.
    Iam trying in different ways, it is showing error msgs, if any body have WEB ADI R12 exp, please guide me.
    I need to upload manual transactions through WEB ADI..
    What are the setups need to do, i have user guide but unable to solve my probelm..
    It is very urgent to me, please reply..
    Thanks,
    Srini
    Message was edited by:
    user620419

    Ravichandran wrote:
    Hi,
    Set the DQM Synchronization Method to "Batch" and it should solve your issue(Please note that this depends on whether you are using TCA)
    Regards,
    RaviHi Ravi,
    Thanks for replying this post. I had almost lost hope.
    As you suggested above, I tried to set the DQM Synchronization Method Profile Option to Batch using System Administrator responsibility but could not as the Profile Option is read only at all levels- Site, Application, Responsibility,User,etc. Please what am I doing wrong ? Thanks
    -Ibrahim

  • How to use solution manager in upgrade projects

    Hi,
    How to utilize/use the solution manager in upgrade project like R/3,BW,CRM or entire landscape.
    if we are upgrading the r/3 4.6c to ecc6 and bw3.5 to bi7.0 how to use the solution manager
    please help and thanks in advance.
    Edited by: MAHIPAL REDDY on Jan 1, 2009 1:28 PM

    Hi,
    Check [this document|https://websmp208.sap-ag.de/~sapdownload/011000358700002696532005E/310_320_SOLMAN_URMP_EN.doc]. This will help you to proceed further.
    This is a detailed documentation on using Solution Manager for your upgrade project.
    This will solve your problem.
    [This Pdf |https://websmp208.sap-ag.de/~sapdownload/011000358700000208052007E/Upgrade_FAQ_SolMan_70.pdf]of FAQs on upgrade project is rich in information.
    Feel free to revert back.
    --Ragu
    Edited by: Raguraman C on Jan 3, 2009 5:27 PM

Maybe you are looking for