Open jardineworks opened 9 years ago
Ouch!
I've actually never used this with custom ADTs. But this should be solvable.
Just to make clear, any other upload operations to the same site works. E.g. uploading a normal journal template or a ADT for any of the build in portlets (such as the Asset Publisher)?
To be honest, we're not using the stock portlets on this site so we didn't try that. I'll see if I can get one of the guys to try it this afternoon though!
Hi Emilio,
AWESOME tool for starters. Seriously, this and the instant theme deploy are my two favourite toys right now and inspiring me to try to do similar things to automate more of our needs. Question? Issue? not sure so I thought I would ask.
We have created a customClassNameConfig.json file. The structure of our file is ... [ { "filesPath": "application_display_template/support", "friendlyName": "Support", "clazz": "com.xxx.liferay.portlet.support.SupportPortlet", "getTemplate": true, "mayHaveTemplates": true, "mayHaveStructures": true, "isNativeDDM": false } ]
When we initiate the ddm tool and check for diffs, we see our ADT for our SupportPortlet. We are also able to download it. We then start the watch and when we make a change it SAYS that it worked but we don't see the changes on the server. We stopped the watch and tried to manually upload the file (Diffs, select files for upload, selected our file) at which point we receive this error --
Error: Could not find any sites to upload the file to
and the ddm tool exits. I don't see anything about specifying the sites that the templates are assigned to. When I checked the DDMTemplates table, I find an entry with my template, and there is a groupId there.
Help? :)