ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Error while importing project

Post new topic  Reply to topic
 Error while importing project « View previous topic :: View next topic » 
Author Message
Srinu
PostPosted: Thu Feb 16, 2006 6:09 am    Post subject: Error while importing project Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 16, 2006 6:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Srinu
PostPosted: Thu Feb 16, 2006 6:49 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 16, 2006 6:53 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Thu Feb 16, 2006 6:54 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Srinu
PostPosted: Thu Feb 16, 2006 7:00 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Thu Feb 16, 2006 7:03 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Srinu
PostPosted: Thu Feb 16, 2006 7:10 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Thu Feb 16, 2006 7:14 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Srinu
PostPosted: Thu Feb 16, 2006 7:52 am    Post subject: Reply with quote

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
View user's profile Send private message
mqmatt
PostPosted: Thu Feb 16, 2006 9:55 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Error while importing project
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.