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 IndexWebSphere Message Broker SupportACE11 import project command line

Post new topicReply to topic
ACE11 import project command line View previous topic :: View next topic
Author Message
petmor
PostPosted: Tue Jul 07, 2020 4:49 pm Post subject: ACE11 import project command line Reply with quote

Apprentice

Joined: 20 Jun 2002
Posts: 40
Location: Pasadena, CA

I'm running the ACE11 toolkit (11.0.0.9) on MacOS. To import an existing project into the workspace I normally run "File->Import->General->Existing projects into workspace". But can anyone point me to a way to accomplish the project import from the command line? Any example, either Windows or MacOS, would help a lot.

The following two approaches aren't working.

open Eclipse.app -a /path/to/project

The following is unusable since the "headlessbuild" plugin apparently isn't part of ACE11.

open "/path/to/Eclipse.app" -nosplash -data /path/to/workspace -application org.eclipse.cdt.managedbuilder.core.headlessbuild -import /path/to/project
Back to top
View user's profile Send private message Send e-mail AIM Address
fjb_saper
PostPosted: Tue Jul 07, 2020 6:26 pm Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20400
Location: LI,NY

Don't know about the headless build, but using mqsicreatebar will import the mentioned project before building the bar....
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
petmor
PostPosted: Wed Jul 08, 2020 11:20 am Post subject: Reply with quote

Apprentice

Joined: 20 Jun 2002
Posts: 40
Location: Pasadena, CA

My goal was to create a bar and I was finally able to do that from the command line outside of the workspace by copying the .metadata folder to a level parallel to my work area.

"/path/to/mqsicreatebar" -data /path/to/metadata/parent/dir -b /path/to/my.bar -o path/to/my.msgflow -p project

The project is still not visible in the ACE11 toolkit Application Development view, but as long as I can create the bar my immediate objective is accomplished. Does copying the .metadata dir outside of the formal workspace violate any best practices?

Thank you fjb_saper for your input!
Back to top
View user's profile Send private message Send e-mail AIM Address
timber
PostPosted: Wed Jul 08, 2020 5:35 pm Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1138

You might want to look at using mqsipackagebar instead of mqsicreatebar. There are some restrictions, but they don't affect most projects. It is much faster because it does start a headless instance of the toolkit every time you invoke it.
Not for everybody, but I always look for opportunities to use it.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jul 09, 2020 4:44 am Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20400
Location: LI,NY

petmor wrote:
My goal was to create a bar and I was finally able to do that from the command line outside of the workspace by copying the .metadata folder to a level parallel to my work area.

"/path/to/mqsicreatebar" -data /path/to/metadata/parent/dir -b /path/to/my.bar -o path/to/my.msgflow -p project

The project is still not visible in the ACE11 toolkit Application Development view, but as long as I can create the bar my immediate objective is accomplished. Does copying the .metadata dir outside of the formal workspace violate any best practices?

Thank you fjb_saper for your input!

AFAIK you don't need the .metadata. It gets generated while running mqsicreatebar...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportACE11 import project command line
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.