installation into an active org

71 views
Skip to first unread message

sean*harrison

unread,
Jun 1, 2011, 3:15:43 PM6/1/11
to SmartFactory for Force.com
Just some notes on my attempt to install these classes into an org
other than my developer instance:

I used Eclipse's Import feature to copy the cls and meta.xml files
from one project to another. Nice.

As it is, SmartFactoryHelper failed to compile, and hence be uploaded
to server, because 26 objects were deemed Invalid types. I'm guessing,
since most of then end in "feed" that they are Chatter-related.

This made me wonder: Can I upload enough of the code to then run the
SmartFactory.generateHelperClass method? Answer = not apparently.
SmartFactory calls SmartFactoryHelper. You need 'em both to start
with. So I commented out all the failing lines to compile the Helper
class.

Generating new Helper worked perfectly.

Matthew Botos

unread,
Jun 3, 2011, 10:58:34 AM6/3/11
to smartfactory...@googlegroups.com
Thanks for your sharing your experiences and your pull request on GitHub, Sean!

I think the most flexible way of incorporating your changes would be to have the SObject list alphabetized by the generator and put the Chatter objects in a separate block that can be easily commented-out.

Do you want to put together another pull request with that implementation?

Matthew

Reply all
Reply to author
Forward
0 new messages