facebook

Myeclipse not copyg classes frm 1 project to a diferent proj

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #253662 Reply

    Shoban
    Member

    Hi, myeclipse is not copying files from one project to a different project sometimes. Here is the way I have my projects organized.

    I have a project created. Named it as “eCore”. This project will be core to other applications. It even has the build.xml,jars etc. All these are checkedout of the CVS.
    The output for this project is set to the path “eCore/bin” (Properties –> Java Build Path)

    I have additional projects created for each application/projects, for example consider ‘eApp1’. This is very specific to the application and also uses the “eCore” project. (Added ‘eCore’ in the Source under Project –> Properties–>Java Build path –> Projects)
    And also added ‘eCore’ in the Order and Export tab.

    The issues is sometimes class files generated in eCore are not copied to ‘eApp1’ I am not sure under what scenario it does that.

    I use CVS for version controll. Which files can I store under CVS?

    Eclipse version 3.1.1
    Myeclipse version 4.1.1
    java.version=1.5.0_03
    Operating system =Windows XP
    I have hibernate, xmlbeans, log4j, struts, jaas, quartz.

    Thanks in Advance.
    Shoban

    #253704 Reply

    Riyad Kalla
    Member

    I have additional projects created for each application/projects, for example consider ‘eApp1’. This is very specific to the application and also uses the “eCore” project. (Added ‘eCore’ in the Source under Project –> Properties–>Java Build path –> Projects)
    And also added ‘eCore’ in the Order and Export tab.

    Did you also set eCore under the “Project References” settings for eApp1?

    Additionally, when you open eApp1 and go to MyEclipse-Web > Deployment, down at the bottom are the rules for the deployment tool, which settings do you have checked? And lastly, are you deploying eApp1 as an exploded deployment or packaged deployment? During development it’s best to use an exploded deployment so the changes are done real-time.

    #253798 Reply

    Shoban
    Member

    Hi Riyad, Thanks for the quick reply. Yes I have set the eCore under the Project References settins for eApp1.
    The Deployment settings are
    Smart Deployment –
    Jar referenced Java projects for packaged deployments.
    Merge into the ‘classes’ directory for exploded deployments.
    I am deploying eApp1 as an exploded deployment.

    I think the issues is with the .class and the .project files created by myeclipse.
    Do we need to have these files saved in the CVS?
    These files are saved in the CVS at present, are’nt they specific to the user?
    Please suggest which files have to be in CVS, which are created by myeclipse.
    Thanks,
    Shoban

    #253808 Reply

    Riyad Kalla
    Member

    Shoban,
    I usually don’t keep IDE-specific files in CVS as many people on the team use different IDEs so I don’t know how to answers that, I do know a lot of our customers keep all the project files in CVS and there isn’t a problem.

    I think what we need to do here is narrow down exactly which cases cause the files to not be deployed, create use cases so I can test them here.

    #253856 Reply

    Shoban
    Member

    Hi Riyad, Thanks for your reply. But I have lot of use cases and its complex for me to create different scenarios.

    But I would like to know the different files which myeclipse creates like .classpath, .project etc and the very purpose of those files. Mean what is the purpose of those myeclipse specific files.

    Thanks in advance.
    shoban

    #253871 Reply

    Riyad Kalla
    Member

    .classpath and .project are created by Eclipse and used by Eclipse plugins to register natures with the project. Your .mymetadata, .hibernatedata, .strutsdata and I think .jsfdata are all created by MyEclipse used to register the information that you enter when you add those capabilities to your project.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Myeclipse not copyg classes frm 1 project to a diferent proj

You must be logged in to post in the forum log in