Questions tagged [launch-configuration]

Eclipse uses a launch configuration to store launch parameters of executable application in the workspace.

47 questions
16
votes
4 answers

How to create a generic launch configuration with Eclipse?

I have a run configuration in my eclipse. In my project we have two branches : DEV and STABLE. I would like to create one run configuration for building my project whatever branch it is on. For now, when I set Base directory with one of those two…
Stephan
  • 41,764
  • 65
  • 238
  • 329
15
votes
8 answers

Prelaunch task build terminated with exit code 1

I'm trying to learn how to create method libraries but whenever I run my program a little pop-up window (with a surprisingly basic Windows graphical interface, post-update) shows up with the message "PreLaunch task 'Build' terminated with exit code…
DJman
  • 151
  • 1
  • 1
  • 3
5
votes
2 answers

How ro run a shell script on aws elastic beanstalk environment instance launch

I am using Terraform script to create aws elastic beanstalk environment, I need to launch a shell script on instance launch I have already tried the following resource "aws_elastic_beanstalk_environment" "Environment" { name =…
Bikesh M
  • 8,163
  • 6
  • 40
  • 52
4
votes
1 answer

AWS CloudFormation Autoscaling create encrypted EBS root volume with customer key

As a requirement I need to have all my EBS volume encrypted with a customer KMS (and not de fault aws/ebs one) In the LaunchConfig's BlockDeviceMappings properties I do see a property "Encrypted" but I do not see anyway of specifying a custom KMS I…
4
votes
3 answers

Using env. variables as VM argument in launch configuration

I have a eclipse project which connects to different environments based on VM parameters passed in launch configuration. In order to achieve this i have set env. variables in "launch configuration -> environment" and then tried to pass them as VM…
Lokesh
  • 7,810
  • 6
  • 48
  • 78
3
votes
1 answer

AWS CloudFormation template "Launch configuration name not found"

I came across this issue with AWS CloudFormation template I'm creating. I am creating an AutoScaling group and assign LaunchConfiguration to it, but when I run the template I get the error "Launch configuration name not found - A launch…
3
votes
1 answer

Unable to debug Eclipse Application because of missing classes

I have written an DSL plug-in using Xtext 2.2.1. After upgrading to Xtext 2.3.0, I cannot debug the related Eclipse Application (i.e. I'm using a launch config which is labeled "Eclipse Application" to start an instance with my DSL plug-in from…
Aaron Digulla
  • 321,842
  • 108
  • 597
  • 820
2
votes
1 answer

Attach existing EBS volumes to launch configuration in Terraform

I have 3 existing EBS volumes that I am trying to attach to instances created with Autoscaling groups. Below is Terraform code on how the EBS volumes are defined: EBS Volumes resource "aws_ebs_volume" "volumes" { count = "${(var.enable…
2
votes
1 answer

Using for loop and other declared variables in ec2 userdata cloudformation

I am new to cloudformation yaml. I have the following which I need to use as userdata in launch configuration: UserData: Fn::Base64: !Sub - | #!/bin/bash -x apt-get -y update && apt install -y awscli mysql-client…
2
votes
1 answer

reference launch config by count.index in an autoscale group

I'm creating a cluster of hosts via terraform on aws and trying to utilize count to avoid creating 3 separate luanch configs & auto scale groups. I'm not having success with the auto-scale group section referencing individual launch-configs using…
2
votes
1 answer

Eclipse Plugin: Is there a way to get the External Tools Configurations Tree?

Is there a way to get the orange-highlighted tree(see img) of the "External Tools Configurations..." window? If not, which classes of the official Eclipse-API can I use to build my own TreeViewer? This question here: Eclipse Plugin - get Launch…
2
votes
1 answer

When creating a LaunchConfigurationTab how do I get the 'apply' button to highlight?

I have the necessary extension points and my Tab class is extending AbstractLaunchConfigurationTab. I am doing nothing different to examples, such as, the CommonTab. I call updateLaunchConfigurationDialog() when a widget event is fired. EDIT: The…
tgc92
  • 21
  • 2
2
votes
1 answer

Eclipse feature based launch unable to resolve dependency

I have an OSGI bundle that depends on a package, which is exposed through a feature. The package I depend on requires a specific version of a bundle, say com.company.antlr.runtime (3.0.1). The feature in turn packages two versions of the bundle,…
2
votes
1 answer

NPE in DebugPlugin.getDefault()

I've got the following piece of code: import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import org.eclipse.core.runtime.CoreException; import org.eclipse.debug.core.DebugPlugin; import…
1
vote
0 answers

Cannot find configuration for gradle

I am trying to learn how to make minecraft mods and am following a tutorial using gradle. On one step of the tutorial he runs the empty mod using: Run > Run Configuration > Java Application > run client Configuration Menu When I go to run…
1
2 3 4