Developers have kept in mind the different needs players have during their gameplay experience – leveling, PvP, raids, etc. Different builds should be viable in more than one context. Companions will help offset some of the disparities players feel taking their characters into different situations with different requirements (although companions are still not allowed in warzones).
Fansite Summit: CRR Interview with Georg Zoeller
Having such experience in World of Warcraft and many other MMO with both PVP and PVE elements, that quote has caused me plenty of disbelief.
How could a developer possibly develop a game that balanced both aspects of pvp and pve so that players could use the same spec for both? Having not seen the way the skill trees are laid out it is impossible to know for sure but I believe I have theory crafted a way that both could work.
Spec matters to players. There are always optimal specs for every job a player can do. What most average players do not realize is that your optimal spec is more often than not gear dependent and you really don't notice the difference between optimal specs until certain gear levels are reached, or until certain challenges are presented.
The optimal specs, are normally only needed in pve to make up for imperfect gear, and for pvp optimal specs are more often than not actually not noticed until max level competition. I believe SWTOR has set up their skill trees so that your one spec is usable in pve and pvp, and the actual optimal specs won't be needed unless you're on the bleeding edge of progression raiding, or fighting against opponents where the subtle difference and point distribution will matter.