Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
Now that ship gateways like UPS are plugins, how do you guys handle modifications to them? In Gold, I just added the UPS project to the solution and moved on.
But that route seems incompatible with how it works now. Should I open the UPS project in a completely separate solution, make my changes there, rebuild, make a zip file.....
I'm not really sure the best way to proceed. Any suggestions?
|
|
|
|
Rank: Administration
Groups: Admin, Administrators, HelpDesk, System, Authorized User, Developers, Registered Joined: 10/5/2018(UTC) Posts: 175
Thanks: 8 times Was thanked: 17 time(s) in 15 post(s)
|
You can use the same method you used before. In order to deploy a plugin you need to have its build artifacts under Website/Plugins folder and that can be automated by using post build events in visual studio. Basically, you can add the plugin project into your solution for ease of access. Then project post build event's can copy the plugin output directly under /Website/Plugins folder including views, resources and DLL. This way you should be able to put in debug mode just by changing the build mode and doing a rebuild.
If you open any existing plugin source code from AC9, you can add it to solution and check its post build event and you see how its copying its output to /Website/Plugins folder. You can use the same approach with your own plugin.
|
1 user thanked mazhar for this useful post.
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
Ohhhhhh, now I see.
You're using the post-build event to push the necessary files to the plug-ins folder AND create a plugin zip file. I didn't realize you could do all that in post-event. As long as I keep the same folder structure you're using, I should be able to do the same thing.
Thanks Mazhar, that's a huge help!
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close