Deploy (Source File) will not concatenate "include" files

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
claussen
Posts: 19
Meble kuchenne na zamówienie - na wymiar - Wrocław
Joined: Thu Dec 04, 2014 9:48 am

Deploy (Source File) will not concatenate "include" files

Post by claussen »

Product, version and build:PSS 5.7.174
32 or 64 bit version of product: 64
Operating system: Win 10 x64 1909
32 or 64 bit OS: 64

After upgrading from 172 to 174, when I click "Deploy" in my module project it no longer concatenates all my Build:Include files into one psm1 file. It simply copies the psd1 and psm1 files from the project root to the destination deploy path. All required files are set to Build:Include, Export-Function:True.
2020-04-07_10-04-40.png
2020-04-07_10-04-40.png (11.42 KiB) Viewed 831 times
2020-04-07_10-06-27.png
2020-04-07_10-06-27.png (13.42 KiB) Viewed 831 times
I also noticed at some point after upgrading to 172 (I believe), it started re-concatenating the psm1 that already existed back with itself... So after every deploy, the resulting psm1 would be twice the size of the last deploy because it contained the already concatenated file.

User avatar
brittneyr
Site Admin
Posts: 432
Joined: Thu Jun 01, 2017 7:20 am

Re: Deploy (Source File) will not concatenate "include" files

Post by brittneyr »

We are currently investigating this and will get back to you.
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
claussen
Posts: 19
Joined: Thu Dec 04, 2014 9:48 am

Re: Deploy (Source File) will not concatenate "include" files

Post by claussen »

brittneyr wrote:
Tue Apr 07, 2020 4:11 pm
We are currently investigating this and will get back to you.
Hi Brittney,

Any updates on this?

Thanks!

User avatar
brittneyr
Site Admin
Posts: 432
Joined: Thu Jun 01, 2017 7:20 am

Re: Deploy (Source File) will not concatenate "include" files

Post by brittneyr »

I was able to reproduce this issue and filed a bug report for the development team. It appears that when the process for 'building' modules changed for the SAPIEN Script Packager, this bug was introduced. When this issue is resolved, it will be listed in the logs and I will update you here.
Brittney Ryn
SAPIEN Technologies, Inc.