Questions tagged [programmatic-config]

19 questions
0
votes
1 answer

How to hide the navigation bar as scroll down, when constraints are programmatically?

I'm doing all my UI programatically, to avoid a massive view controller I have a class of type UIView where I'm declaring all my UI elements. I'm declaring my scrollView like this: class RegisterUIView: UIView { lazy var scrollView:…
0
votes
0 answers

Storing/Retrieving kinit password from shellscript

I'm automating the provisioning of a VM in a keberized environment. After the new server is created it needs to join a network. For this, I need to login to the kerberos server using kinit and then use net ads join. the challenge for me is where do…
0
votes
1 answer

Programmatic mapping with embedded index in Hibernate Search results in unable to find field error

I am having to do a programmatic configuration of the fields to be indexed with Hibernate Search. In the scenario below the use of indexEmbedded() is resulting in a "field not found error". @Entity public class AT { @ManyToOne(fetch =…
-1
votes
1 answer

Writing a program to configure Eclipse CDT programmatically

I am using Eclipse for C++ development. Each time I create a new workspace I need to go through a tedious series of manual steps to repeat the same configuration steps I have already performed on other workspaces. I am using a perforce perspective…
1
2