Author |
Message
|
Srinu |
Posted: Thu Feb 16, 2006 6:09 am Post subject: Error while importing project |
|
|
 Acolyte
Joined: 15 Jun 2005 Posts: 51
|
Hi everybody,
I am presently working on Message Broker v 6.0 on Linux. When I try to import the project developed in windows into Linux system I am getting an error as "project does not have .project file" . So please help me out.
Thankiing You |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Feb 16, 2006 6:25 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
How are you trying to import? From a version control system or from a shared file system?
Does the location you are trying to import have a file named ".project" underneath it? So if you are trying to import c:\projects\myProject, is there a file named "c:\projects\myProject\.project"? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Srinu |
Posted: Thu Feb 16, 2006 6:49 am Post subject: |
|
|
 Acolyte
Joined: 15 Jun 2005 Posts: 51
|
Hi Jeff,
Actually i am importing the projects from my local system.For that i am selecting the optoin " Import -> Existing project in to workspace' " here after clicking the browse button i am giving the specified file path. After the file is selected i am getting an error like "SampleProject does not have .project file" where Sample project is my message flow project previously done on windows machine.
Thanks in adavance. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Feb 16, 2006 6:53 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Okay.
How did you move the projects from Windows to Linux?
Again, does there exist a file called ".project" at the root of the directory you are choosing as the project?
You know you can't import more than one project at a time, right?
So if you moved a folder called "C:\projects\" into a folder called "/home/srinu/projects/" that had ProjectA, ProjectB, ProjectC and ProjectD in it, you can't import "/home/srinu/projects", you have to import "/home/srinu/projects/ProjectA", and etc. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Feb 16, 2006 6:54 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Well, there's nothing different between the strucutre of a project in windows and linux. In fact, I've "shared" a project between both toolkits without any problem...
I don't think you answered Jeff's question about the .project file (remember to do a ls -al in that directory). _________________ -wayne |
|
Back to top |
|
 |
Srinu |
Posted: Thu Feb 16, 2006 7:00 am Post subject: |
|
|
 Acolyte
Joined: 15 Jun 2005 Posts: 51
|
Hi,
I took backup from windows system and using samba server i got my flows back in my linux machine.I am importing the projects one at a time and every project in my system contains ".project" file which is a hidden file in linux.
Thanks. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Feb 16, 2006 7:03 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Srinu wrote: |
Hi,
I took backup from windows system and using samba server i got my flows back in my linux machine.I am importing the projects one at a time and every project in my system contains ".project" file which is a hidden file in linux.
Thanks. |
what are the permissions on the .project file? ... and ... are ALL the projects failing with "missing .project" file, or only one/some? _________________ -wayne |
|
Back to top |
|
 |
Srinu |
Posted: Thu Feb 16, 2006 7:10 am Post subject: |
|
|
 Acolyte
Joined: 15 Jun 2005 Posts: 51
|
Hi,
Yes,i am getting this ".project" error for all the projects i have and .project file have both read and write permissions.I have even tried to import the project after giving the "execute " permissions also.
Thanks for the replies. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Feb 16, 2006 7:14 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Can you cut a paste a "ls -al" from the directory you are tying to import? _________________ -wayne |
|
Back to top |
|
 |
Srinu |
Posted: Thu Feb 16, 2006 7:52 am Post subject: |
|
|
 Acolyte
Joined: 15 Jun 2005 Posts: 51
|
Hi,
This is wot i got after giving ls - al command
Srinu@localhost Sample_Flow]$ ls -al
total 32
drwxrwxr-x 2 Srinu Srinu 4096 Dec 31 1969 .
drwxrwxr-x 6 Srinu Srinu 4096 Dec 31 1969 ..
-rw-rw-r-- 1 Srinu Srinu 792 Dec 31 1969 Sample_Flow.esql
-rw-rw-r-- 1 Srinu Srinu 3752 Dec 31 1969 Sample_Flow.msgflow
-rw-rw-r-- 1 Srinu Srinu 6860 Dec 31 1969 Sample_Sub_Flow.esql
-rw-rw-r-- 1 Srinu Srinu 2289 Dec 31 1969 Sample_Sub_Flow.msgflow
-rwxrwxrwx 1 Srinu Srinu 1346 Dec 31 1969 .project
[Srinu@localhost Sample_Flow]$ |
|
Back to top |
|
 |
mqmatt |
Posted: Thu Feb 16, 2006 9:55 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
Could be a codepage issue?
I have exported files from Windows to Linux in the past, but have then been unable to edit the files in the Linux Eclipse environment until I set the codepage property on the files (or projects) in question to US-ASCII.
Just a thought.
-Matt |
|
Back to top |
|
 |
|